[ckan-dev] Problems with wms_preview

Hildegard Gerlach hildegard.gerlach at jrc.ec.europa.eu
Wed Jul 10 16:07:37 UTC 2013


Hi again,

finally the WMS preview is working for some services. It seems that they 
are working for services which are on an ArcGIS Server 10 instance, 
while the ones which are on an ArcGIS Server 10.1 instance get the error

no element found

	

data=jQuery.trim(data);if(window.JSON&&window.JSON.parse){return window.JSON.par...


I am not sure if it has to do with the configuration of our ArcGIS 
Server 10.1 instance or if it is a general problem.

Hilde



On 10/07/2013 15:24, Adrià Mercader wrote:
> Hi Hilde,
>
> The errors when installing are fine and not related. What errors do
> you get on the js console?
> It could be a problem with the resource proxy.
>
> Note that the WMS viewer currently included in ckanext-spatial is a
> very basic one, intended only as an example.
>
> Adrià
>
> On 9 July 2013 15:45, Hildegard Gerlach
> <hildegard.gerlach at jrc.ec.europa.eu> wrote:
>> Hello,
>>
>> I have installed CKAN 2.0 on Redhat 6 with harvesting and spatial extension
>> and finally managed to harvest data from our geonetwork instances.
>>
>> I have problems though when trying to see the preview with the wms_preview
>> plugin. The Website says loading but nothing happens. I have the
>> resource_proxy plugin also enabled as described here.
>> https://github.com/okfn/ckanext-spatial#wms-preview
>>
>>
>> Could it be that I am missing some OpenLayers files ?
>>
>> I got the following warnings when doing
>> pip install -e
>> git+https://github.com/okfn/ckanext-spatial.git@stable#egg=ckanext-spatial
>>
>> Updating ./pyenv/src/ckanext-spatial clone (to stable)
>>    Running setup.py egg_info for package ckanext-spatial
>>      warning: no files found matching '*.js' under directory
>> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/'
>>      warning: no files found matching '*.txt' under directory
>> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/'
>>      warning: no files found matching '*.cfg' under directory
>> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/'
>>      warning: no files found matching '*.gif' under directory
>> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/img/'
>>      warning: no files found matching '*.png' under directory
>> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/img/'
>>      warning: no files found matching '*.css' under directory
>> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/theme/default/'
>>      warning: no files found matching '*.js' under directory
>> 'ckanext/spatial/public/ckanext/spatial/js/'
>>      warning: no files found matching '*.css' under directory
>> 'ckanext/spatial/public/ckanext/spatial/'
>> Installing collected packages: ckanext-spatial
>>    Running setup.py develop for ckanext-spatial
>>      warning: no files found matching '*.js' under directory
>> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/'
>>      warning: no files found matching '*.txt' under directory
>> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/'
>>      warning: no files found matching '*.cfg' under directory
>> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/'
>>      warning: no files found matching '*.gif' under directory
>> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/img/'
>>      warning: no files found matching '*.png' under directory
>> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/img/'
>>      warning: no files found matching '*.css' under directory
>> 'ckanext/spatial/public/ckanext/spatial/js/openlayers/theme/default/'
>>      warning: no files found matching '*.js' under directory
>> 'ckanext/spatial/public/ckanext/spatial/js/'
>>      warning: no files found matching '*.css' under directory
>> 'ckanext/spatial/public/ckanext/spatial/'
>>      Creating
>> /usr/local/mtester.ies.jrc.it/pyenv/lib/python2.6/site-packages/ckanext-spatial.egg-link
>> (link to .)
>>      ckanext-spatial 0.2 is already the active version in easy-install.pth
>>      Installing cswinfo script to /usr/local/mtester.ies.jrc.it/pyenv/bin
>>
>>      Installed /usr/local/mtester.ies.jrc.it/pyenv/src/ckanext-spatial
>> Successfully installed ckanext-spatial
>> Cleaning up...
>>
>> Regards
>>
>> Hilde
>>
>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130710/b9ee6fe2/attachment-0001.html>


More information about the ckan-dev mailing list