[ckan-dev] Cannot upload GeoJSON [and JSON] resources do Datastore
Matthew Fullerton
matt.fullerton at gmail.com
Wed Aug 10 07:59:46 UTC 2016
Hi Sovello,
The datastore/datapusher is for tabular data (CSV, XLS, etc.), and not for
tree-like data like JSON.
You could look into 'flattening' your JSON to CSV, e.g.
https://konklone.io/json/
Best,
Matt
On 10 August 2016 at 09:53, Sovello Hildebrand Mgani <
sovellohpmgani at gmail.com> wrote:
> Hi all!
> Am deploying CKAN for a project in Tanzania and had trouble uploading
> GeoJSON (and JSON) files through to the DataStore.
>
> It complains about Invalid Data Fields and Datapusher returns a HTTP Error
> Code 409.
>
> I have searched and looks like it's a common problem but didn't get a
> clear solution as to what I should do. I can use the API
> *resource_create()* without problems, only when I upload to Data Store
> that I get errors.
>
> I would appreciate if you can point me to a resource that I can go through
> or if you can help directly.
>
> Thanks in Advance!
>
> --
> :: Sovello Hildebrand Mgani ::
>
>
>
> --If you teach man to fish, you'll feed him a lifetime--
>
> _______________________________________________
> 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/20160810/2c548086/attachment-0003.html>
More information about the ckan-dev
mailing list