ckan / ckanext-spatial

Geospatial extension for CKAN
http://docs.ckan.org/projects/ckanext-spatial
126 stars 193 forks source link

Parameter for view for which WMS layers to show by default #106

Closed mattfullerton closed 9 years ago

mattfullerton commented 9 years ago

Currently, if multiple layers are present, only the first is shown. I would like to be able to put in the view properties which layer(s) should be shown as a simple comma separated list. If someone points me in the right direction on where to start on this, I could work on it.

amercader commented 9 years ago

Hi @mattfullerton, I'm literally finishing work this week to remove the WMS viewer in spatial in favour of the brand new one at https://github.com/ckan/ckanext-geoview (which is several orders of magnitude better thanks to @pduchesne) and announce it.

What you suggest seems entirely sensible, let's discuss it on a new issue over the new repo.

mattfullerton commented 9 years ago

Ah as usual I'm one step behind ;-)

mattfullerton commented 9 years ago

@amercader Is there a particular ckan/branch you're testing against? My quick install of the plugin yields an error of trying to assign an item to a string. I can also just wait till you're finished :)

amercader commented 9 years ago

sorry about that @mattfullerton, can you paste me the stacktrace?

amercader commented 9 years ago

@mattfullerton got it https://github.com/ckan/ckanext-geoview/issues/6