[OSGeo-Discuss] Open source map server

Bob Basques Bob.Basques at ci.stpaul.mn.us
Thu Aug 4 07:51:21 PDT 2011


D, 

Styled Layer Description (SLD), and XML standard for stylizing stuff.  Lucky for you, I'm actually working on this at the moment . . .  :c) 

with a SLD, you can start with a WMS call like this: 

https://maps.co.ramsey.mn.us/arcgis/services/ParcelPolyWMS2/MapServer/WMSServer?WIDTH=600&HEIGHT=600&BBOX=44.95,-93.028,44.955,-93.023&CRS=EPSG:4326&FORMAT=image/png24&STYLES=&REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=0 

. . . . which should return an image with the default styles configured on the server. 

you can change the styles by changing the call to include a SLD, like so: 

https://maps.co.ramsey.mn.us/arcgis/services/ParcelPolyWMS2/MapServer/WMSServer?WIDTH=600&HEIGHT=600&BBOX=-93.028,44.95,-93.023,44.955&SRS=EPSG:4326&FORMAT=image/png24&STYLES=textSymbolizer&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=0&TRANSPARENT=true&SLD=http://pwultra5.ci.stpaul.mn.us/ol/sld.poly.label.02.xml 

The ( https://maps.co.ramsey.mn.us/arcgis/services/ParcelPolyWMS2/MapServer/WMSServer?WIDTH=600&HEIGHT=600&BBOX=-93.028,44.95,-93.023,44.955&SRS=EPSG:4326&FORMAT=image/png24&STYLES=textSymbolizer&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=0&TRANSPARENT=true&SLD=http://pwultra5.ci.stpaul.mn.us/ol/sld.poly.label.02.xml ) SLD= ( https://maps.co.ramsey.mn.us/arcgis/services/ParcelPolyWMS2/MapServer/WMSServer?WIDTH=600&HEIGHT=600&BBOX=-93.028,44.95,-93.023,44.955&SRS=EPSG:4326&FORMAT=image/png24&STYLES=textSymbolizer&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=0&TRANSPARENT=true&SLD=http://pwultra5.ci.stpaul.mn.us/ol/sld.poly.label.02.xml )http://pwultra5.ci.stpaul.mn.us/ol/sld.poly.label.02.xml parameter ( http://pwultra5.ci.stpaul.mn.us/ol/sld.poly.label.02.xml ) above is used to tell the server how to stylize the output instead of using the default style.  While this is using a static SLD, the real power comes into the equation when the user has a SLD editor at the their disposal to change the STYLE on the fly. 

This email is just to get you asking questions, there's a lot more to it behind the scenes.  The server needs to be able to understand SLD calling, etc.  This service is using MapServer as the WMS server for example. 


bobb 



>>> del cadarn <del_cadarn at hotmail.com> wrote:


Forgive my ignorance but a few of you mention SLD editor... What does that mean?

              Merci,

                              D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/discuss/attachments/20110804/c746750f/attachment-0002.html>


More information about the Discuss mailing list