ROGUE-JCTD / MapLoom

MapLoom is a web mapping client based on OpenLayers 3. It provides full-featured editing capabilities for data stores in GeoServer - including PostGIS and GeoGig. For GeoGig layers, it lets you view history, and sync with other GeoGig repositories
MIT License
70 stars 66 forks source link

Validator Limits Types of URLs when Adding New Server #104

Open JJediny opened 10 years ago

JJediny commented 10 years ago

Adding a new WMS service only allows for http://{ip}/geoserver/wms this limits adding services from MapServer, ArcGIS Server, etc. and/or using the GetCapabilities string for any

ScottEvil commented 9 years ago

From Patrick: DigitalGlobe uses wmsaccess as its suffix, such as the link below. It would be good to support their WMS services, too.

https://services.digitalglobe.com/mapservice/wmsaccess?connectid=XXX-XXX-XXX&SERVICE=WMS&FORMAT=image/png&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=DigitalGlobe:Imagery&STYLES=&SRS=%7Bproj%7D&WIDTH=%7Bwidth%7D&HEIGHT=%7Bheight%7D&BBOX=%7Bbbox

pjdufour commented 9 years ago

When putting in a url like:

https://rdog.digitalglobe.com/mapservice/wmsaccess?connectid=XXX-XXX-XXX

MapLoom attempts a WMS Get Capabilites with:

https://rdog.digitalglobe.com/mapservice/wmsaccess?connectid=XXX-XXX-XXX?SERVICE=WMS&REQUEST=GetCapabilities

A more sophisticated url parsing is needed, so it doesn't add a second questionmark but uses an ampersand.