[ckan-dev] Fwd: Ckanext-spatial

Jean Pommier jean.pommier at pi-geosolutions.fr
Fri May 17 08:30:14 UTC 2019


Hi,

Did you solve it since then ? What do you mean by "manually" ?

I'm using scheme extension to add a spatial field in the dataset editing 
form. It works well...

Best,

Jean

*Jean Pommier -- pi-Geosolutions*

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp at pi-geosolutions.fr
Web : www.pi-geosolutions.fr

Le 07/05/2019 à 00:30, James State a écrit :
> 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
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190517/7b060699/attachment-0002.html>


More information about the ckan-dev mailing list