Closed stevage closed 9 years ago
Now, a couple of issues here. Geospatial support in the versions of Socrata running those two platforms is poor. They don't have GeoJSON enabled:
You can get a listing of all datasets like this: https://data.melbourne.vic.gov.au/data.json
Unfortunately the ?type=maps
parameter seems to be ignored. (It works for HTML view).
From that listing you can access the raw data, but the columns are inconsistent. For example this one has "Latitude - processed", and "Geocoded" columns ((-37.5, 144.5)
). This one has "Latitude" and "GeoCode"
Line and polygon maps generally have a KMZ download, identifiable by mediatype: application/vnd.google-earth.kmz
. Example. Zipped shapefile also available.
You should talk with Pia and/or Alex at data.gov.au about it if you haven't. They had tried to import from socrata to migrate users and found it unworkable in the end as I remember. They - or Alex with Pia on secondment - may remember more of the details.
@maxious, any comments?
(man Github is great like that...)
Socrata are on github too ;) It would be nice if the data catalogue APIs were better documented especially around filtering and pagination. It would be even better if www.opendatanetwork.com had an API to get all results by jurisdiction (GovPond for Socrata) I don't know any more about it other than Vizicities asked the same question about how to get just spatial data as well so there's demand.
Ok, spoke to Socrata this morning. Where we got to:
dataTypeName
= location
. For instance: https://data.melbourne.vic.gov.au/api/views/axts-5eu4.json So I may attempt to script something, but it would need to be a server side process, so doesn't fit well into the Terria model.There's also this, but not sure if relevant: http://labs.socrata.com/docs/search.html
Seems to allow meta searching across (US?) Socrata instances.
Ah, even better, here's the JSON catalogue: https://data.melbourne.vic.gov.au/api/search/views
That should be enough - look for datasets with "displayType" : "map"
,
Awesome, nice find!
Requested for City of Melbourne and ACT.