[ckan-dev] Trouble harvesting CSW

Guillaume Sueur no-reply at neogeo-online.net
Mon Apr 15 16:13:45 UTC 2013


>
>> - WMS preview brings a Javascript error up, somewhere in the middle of
>> OpenLayers code. It was ok with 1.8 version. I may give a hand, as I know
>> OpenLayers quite well.
> That's strange, what errors are you getting? Note that the WMS viewer
> provided as part of ckanext-spatial is just a very basic one, just to
> give a starting point for developers willing to implement a more
> complete one.

TypeError: OpenLayers.Format.OWSCommon is not a constructor
But I suspect an object not to be initialized properly.

>
>> - Datasets with a "spatial" field set to some extent don't show their
>> "extent map" either.
> You need to add the map snippets to the dataset page template on your
> extension, as described here:
> https://github.com/okfn/ckanext-spatial/tree/release-v2.0#dataset-extent-map
>
>> - I have a lot of different resources types (ZIP, PDF, JSON, WMS, WFS...). I
>> was wondering how to build specific templates for the ones which haven't got
>> any (ZIP for instance, could be shown with a ZIP icon above a download
>> link).
> You can customize and override any template from your own extension.
>
> For this particular change (adding a new icon for a particular format)
> you will probably only need CSS changes (and a new image):
> See eg https://github.com/okfn/ckanext-geodatagov/commit/df66535b
>
> Hope this helps,

It does. Great job ! Thanks


>
> Adrià
>
>> Thanks for this great job, and for your answers to come
>>
>> Best regards
>>
>> Guillaume
>>
>>
>> _______________________________________________
>> 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
>




More information about the ckan-dev mailing list