Opened 14 years ago
Closed 14 years ago
#5010 closed enhancement (fixed)
Rework WMSPlugin settings
Reported by: | stoecker | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core imagery | Version: | |
Keywords: | Cc: |
Description
Currently WMS plugin stores settings in an uncommon format.
wmsplugin.default.html:http://josm.openstreetmap.de/wmsplugin/YahooDirect.html?=true wmsplugin.default.http://onearth.jpl.nasa.gov/wms.cgi?request_GetMap&layers_global_mosaic&styles_&format_image/jpeg&=true wmsplugin.default.http://openaerialmap.org/wms/?VERSION_1.0&request_GetMap&layers_world&styles_&format_image/jpeg&=true wmsplugin.url.0.name=LandSat wmsplugin.url.0.url=http://onearth.jpl.nasa.gov/wms.cgi?request=GetMap&layers=global_mosaic&styles=&format=image/jpeg& wmsplugin.url.1.name=OpenAerial-Karte wmsplugin.url.1.url=http://openaerialmap.org/wms/?VERSION=1.0&request=GetMap&layers=world&styles=&format=image/jpeg& wmsplugin.url.2.name=Yahoo Sat wmsplugin.url.2.url=html:http://josm.openstreetmap.de/wmsplugin/YahooDirect.html? wmsplugin.url.overlap=false wmsplugin.url.overlapEast=14 wmsplugin.url.overlapNorth=4
This should be replaced by one value per entry as a collection:
wmsplugin.url.x:
- [0] = name
- [1] = url
- [2] = display yes/no (replaces the default entries)
- [3] = PPD and/or resolution for bookmarks (maybe both)
- [4] = Cookies
NOTE: Currently Bookmarks display wrong resolution in Information display (it shows the one, which exists when loading the layer).
The old elements should be converted on-the-fly, so the parsing can be removed in future.
The overlap elements have and url in the name, which is wrong and should be removed.