[ckan-dev] Ckan spatial plugin multiple extents
Philippe Duchesne
pduchesne at gmail.com
Wed Feb 26 15:04:56 UTC 2014
Not 100% sure this is the cause, but here you're using a Polygon with
multiple rings, meaning the second ring will be considered an inner hole of
the polygon, and indexed as such in PostGIS.
What you should use is a MultiPolygon.
See the GeoJSON spec : http://geojson.org/geojson-spec.html#polygon
my 2c,
--p.
On Wed, Feb 26, 2014 at 3:51 PM, Steven Matchett <gosefroba22 at gmail.com>wrote:
> Is there any way to search multiple extents in the ckan spatial plugin.
> Currently in my test I have West Virginia and California extents inside of
> the dataset extra fields. I have both extents drawing on the map. But it
> is only allowing me to search the first extent in the array. Here is my
> dataset that I have uploaded to the demo site. If you zoom out you can see
> both WV and CA. But when I do the query the dataset only shows up when I
> draw over WV
>
> http://demo.ckan.org/dataset/test24342
>
>
>
> _______________________________________________
> 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/20140226/c30c86b5/attachment-0003.html>
More information about the ckan-dev
mailing list