You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With recent changes in ckan2.11, geoview and datatables_view there is now not an inbuilt map viewer for point lat/longs in CSV that used to be in the react data viewer (that I can find) so I've taken to uploading a GeoJSON map of points along with my CSV
A "nice" solution might be to augment the GeoJSON_view plugin so that it can also work with CSV directly (presumably a small amount code required to convert CSV-GEO to GeoJSON in the background then plot it). Perhaps the routines already exist in the Leaflet code making this easy. Its beyond my abilities...but seems like it should be doable for skilled code warriors.
One issue with this is when the CSV has many records and it bogs the map - a potential workaround could be that if the record count exceeds a threshold the viewer sorts the lat/long data without the other attributes (so reducing the data set to the unique point locations only so they can be mapped quickly - e.g. one point for one weather station not 1000 points containing the individual records.
I agree Its not hard to load a GeoJSON of the locations as a separate resource - in some cases perhaps even more appropriate - I just thought it would be nice if this was built in for CSV_GEO. data.gov.au uses CSV-GEO-AU as the filetype so it would wnat to pick that up too.
The text was updated successfully, but these errors were encountered:
Our data is CSV-GEO (CSV with lat/longs)
With recent changes in ckan2.11, geoview and datatables_view there is now not an inbuilt map viewer for point lat/longs in CSV that used to be in the react data viewer (that I can find) so I've taken to uploading a GeoJSON map of points along with my CSV
A "nice" solution might be to augment the GeoJSON_view plugin so that it can also work with CSV directly (presumably a small amount code required to convert CSV-GEO to GeoJSON in the background then plot it). Perhaps the routines already exist in the Leaflet code making this easy. Its beyond my abilities...but seems like it should be doable for skilled code warriors.
One issue with this is when the CSV has many records and it bogs the map - a potential workaround could be that if the record count exceeds a threshold the viewer sorts the lat/long data without the other attributes (so reducing the data set to the unique point locations only so they can be mapped quickly - e.g. one point for one weather station not 1000 points containing the individual records.
I agree Its not hard to load a GeoJSON of the locations as a separate resource - in some cases perhaps even more appropriate - I just thought it would be nice if this was built in for CSV_GEO. data.gov.au uses CSV-GEO-AU as the filetype so it would wnat to pick that up too.
The text was updated successfully, but these errors were encountered: