[ckan-dev] wms-preview on Czech CKAN
Adrià Mercader
amercadero at gmail.com
Fri Oct 28 15:51:55 UTC 2011
Hi Ondřej,
I'm afraid you chose the wrong plugin!
The wms_preview plugin is intended to preview resources which are WMS
(Web Map Services). WMS is a standard for requesting map images [1].
Here is an example on a dataset with a WMS resource:
http://test.ckan.org/dataset/test-wms--wales-natural-risk-zones
If you want to display a map widget with the dataset extent stored in
the spatial field (like this one:
http://test.ckan.org/dataset/test-dataset-extent-polygon), you will
need to enable the *dataset_extent_map* and *spatial_query* plugins.
These plugins require PostGIS installed, you'll need to follow the
"Setting up PostGIS" and "Configuration" steps in the ckanext-spatial
README:
https://bitbucket.org/okfn/ckanext-spatial
Sorry about the confusion, let me know if you need further help.
Adrià
[1] http://www.opengeospatial.org/standards/wms
2011/10/28 Ondřej Vadinský <ondrej.vadinsky at vse.cz>:
> Dne Pá 28. října 2011 13.10:07 jste napsal(a):
>> Hi Ond�ej,
>>
>> Thanks for pointing this out!
>> Some of the libraries were complaining that the GEOS library is not
>> installed. These libraries are not used on the WMS preview, so this is
>> obviously a bug. I just pushed some changes to ckanext-spatial and now
>> wms_preview will not require these missing libraries:
>>
>> https://bitbucket.org/okfn/ckanext-spatial/changeset/effd4abb74d4
>>
>> You'll need to update the ckanext-spatial source and reinstall it
>> (python setup.py ...) to update the plugin entry points.
>>
>> Let me know how it works
>>
>> Cheers
>>
>> Adria
>
> Hi,
>
> yes, this helps to make CKAN run. I just don't see the map, I (guess) am
> supposed to see at the testing dataset:
> http://cz.ckan.net/dataset/czech_addresses, though I am not sure, if we have
> everything right.
>
> Regards,
> Ondřej Vadinský
>
More information about the ckan-dev
mailing list