Closed jgravois closed 4 years ago
@jgravois Okay - the ckan provider was pretty basebones as Im sure you found out. So Im not up to speed on the datastore API.
With regard to your data not showing up. I am not entirely sure what might be going on, but are you aware X/Y pairs backwards? It looks like you're y values are around -80 which would be really far south.
Also now im getting an error on the example link. http://whispering-temple-3513.herokuapp.com/ckan/accela/e53f0901-62fb-443d-a22c-9a5afc851aef/FeatureServer/0/query
good catch on the lat/longs. i feel like i tried both ways and am not surprised i ended up with them backwards.
w/ regard to the error, the server must have crashed. i just reregistered my provider, and its back up and running now. curl --data "host=http://www.civicdata.com&id=accela" http://whispering-temple-3513.herokuapp.com/ckan
@jgravois The other reason I think its not rendering is cause there is not a Object ID field in the fields.
i was hoping the one that koop tacks onto the end of the list of attributes would be all i needed...
right and for some reason it has the wrong type. So there's the bug. It needs to be esriFieldTypeOID
not esriFieldTypeInteger
ahh.. gotcha. thanks for the lead! i'll see if i can fix and let you know the outcome.
about a month ago i did some work trying to integrate a few of the City of Charlotte's existing flat tables from Accela into Koop and noticed that koop-ckan doesn't seem to include support for CKAN's DataStore API.
i was able to get things running in my own forked feature branch (here) by hardcoding the appropriate resource url path (and even utilized Proj4 to reproject northings and eastings from the table on the fly), but the project left me w/ a few questions.
an example of my output: http://whispering-temple-3513.herokuapp.com/ckan/accela/e53f0901-62fb-443d-a22c-9a5afc851aef/
the same data in Accela: http://www.civicdata.com/api/3/action/datastore_search?resource_id=e53f0901-62fb-443d-a22c-9a5afc851aef http://www.civicdata.com/datastore/dump/e53f0901-62fb-443d-a22c-9a5afc851aef