[ckan-dev] Fwd: Ckanext-spatial

James State jstate002 at gmail.com
Mon May 6 22:30:43 UTC 2019


Hello,

I'm having serious issues getting CKAN to accept geojson for the spatial
extension bbox querying to work. I typically update data with the api, but
have tried to manually input the requisite 'spatial' extras field with
something like:

{"type": "Polygon","coordinates": [[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0],
            [100.0, 1.0], [100.0, 0.0]]]}

The field is accepted via the web input, but the package_extent table
isn't updated with these data, so the querying doesn't work.

In addition, the api just poopoos all over my attempts at
programmatically adding an extras' field. Does anyone have any api
examples, or just suggestions on to get this working?

J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190506/9353655f/attachment.html>


More information about the ckan-dev mailing list