Use WMS "Styles" Parameter

Georg Ulbrich shared this idea 3 years ago
Gathering feedback

Some WMS allow the use of the "Styles" parameter. For example the parcels of the state of Brandenburg.


The display is possible in black (standard, with empty parameter):

https://isk.geobasis-bb.de/ows/alkis_wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=404718.75228771416,5837781.213835143484,405035.78353537363,5837937.542242667638&CRS=EPSG:25833&WIDTH=1377&HEIGHT=679&LAYERS=adv_alkis_flurstuecke&STYLES=&FORMAT=image/png&DPI=120&MAP_RESOLUTION=120&FORMAT_OPTIONS=dpi:120&TRANSPARENT=TRUE

Or in yellow (with parameter "Styles=Gelb"):

https://isk.geobasis-bb.de/ows/alkis_wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=404718.75228771416,5837781.213835143484,405035.78353537363,5837937.542242667638&CRS=EPSG:25833&WIDTH=1377&HEIGHT=679&LAYERS=adv_alkis_flurstuecke&STYLES=Gelb&FORMAT=image/png&DPI=120&MAP_RESOLUTION=120&FORMAT_OPTIONS=dpi:120&TRANSPARENT=TRUE


The possible uses can be found in the GetCapabilities:

https://isk.geobasis-bb.de/ows/alkis_wms?request=GetCapabilities&service=WMS


<Style>
    <Name>SW</Name>
    <Title>Schwarz_weiss_Darstellung</Title>
    <Abstract>Schwarz/Weiß Darstellung angelehnt an die ALK</Abstract>
    <LegendURL width="1294" height="2433">
        <Format>image/png</Format>
        <OnlineResource xlink:type="simple" xlink:href="http://isk.geobasis-bb.de/ows/legends/WMS-ALKIS_SW.png"/>
    </LegendURL>
</Style>
<Style>
    <Name>Farbe</Name>
    <Title>Farbdarstellung</Title>
    <Abstract>Farbige Darstellung angelehnt an die GeoInfoDok</Abstract>
    <LegendURL width="1294" height="2433">
        <Format>image/png</Format>
        <OnlineResource xlink:type="simple" xlink:href="http://isk.geobasis-bb.de/ows/legends/WMS-ALKIS_Farbe.png"/>
    </LegendURL>
</Style>
<Style>
    <Name>Gelb</Name>
    <Title>Gelbdarstellung</Title>
    <Abstract>Gelb Darstellung zur Überlagerung mit z.B. Orthophotos</Abstract>
</Style>


Is it possible to integrate the usage into Locus Map?

Leave a Comment
 
Attach a file