Changes between Version 97 and Version 98 of Maps


Ignore:
Timestamp:
2011-09-16T22:42:39+02:00 (15 years ago)
Author:
stoecker
Comment:

Add projections for two services

Legend:

Unmodified
Added
Removed
Modified
  • Maps

    v97 v98  
    209209        <name>MSR Maps Topo</name>
    210210        <type>wms</type>
    211         <url><![CDATA[http://msrmaps.com/ogcmap.ashx?version=1.1.1&request=GetMap&Layers=drg&styles=&format=image/jpeg&]]></url>
     211        <url><![CDATA[http://msrmaps.com/ogcmap.ashx?version=1.1.1&request=GetMap&Layers=drg&styles=&format=image/jpeg&srs={proj}&width={width}&height={height}&bbox={bbox}]]></url>
     212        <supported-projections>
     213            <srs>EPSG:26904</srs><srs>EPSG:26905</srs><srs>EPSG:26906</srs><srs>EPSG:26907</srs><srs>EPSG:26908</srs><srs>EPSG:26909</srs>
     214            <srs>EPSG:26910</srs><srs>EPSG:26911</srs><srs>EPSG:26913</srs><srs>EPSG:26914</srs><srs>EPSG:26915</srs><srs>EPSG:26916</srs>
     215            <srs>EPSG:26917</srs><srs>EPSG:26918</srs><srs>EPSG:26919</srs><srs>EPSG:26920</srs><srs>EPSG:4326</srs><srs>USDA:ALBERS-US</srs>
     216            <srs>USDA:ALBERS-AK</srs>
     217        </supported-projections>
    212218        <bounds min-lat="18.543038" min-lon="-168.531789" max-lat="72.270249" max-lon="-64.935273">
    213219            <shape>
     
    249255        <name>MSR Maps Urban</name>
    250256        <type>wms</type>
    251         <url><![CDATA[http://msrmaps.com/ogcmap.ashx?version=1.1.1&request=GetMap&Layers=urbanarea&styles=&format=image/jpeg&]]></url>
     257        <url><![CDATA[http://msrmaps.com/ogcmap.ashx?version=1.1.1&request=GetMap&Layers=urbanarea&styles=&format=image/jpeg&srs={proj}&width={width}&height={height}&bbox={bbox}]]></url>
     258        <supported-projections>
     259            <srs>EPSG:26904</srs><srs>EPSG:26905</srs><srs>EPSG:26906</srs><srs>EPSG:26907</srs><srs>EPSG:26908</srs><srs>EPSG:26909</srs>
     260            <srs>EPSG:26910</srs><srs>EPSG:26911</srs><srs>EPSG:26913</srs><srs>EPSG:26914</srs><srs>EPSG:26915</srs><srs>EPSG:26916</srs>
     261            <srs>EPSG:26917</srs><srs>EPSG:26918</srs><srs>EPSG:26919</srs><srs>EPSG:26920</srs><srs>EPSG:4326</srs><srs>USDA:ALBERS-US</srs>
     262            <srs>USDA:ALBERS-AK</srs>
     263        </supported-projections>
    252264        <bounds min-lat='27.469957' min-lon='-123.143332' max-lat='45.763165' max-lon='45.763165'>
    253265            <shape>
     
    897909|| '''terms-of-use-url''' || A link that is opened, when the user clicks on the terms-of-use text ||
    898910|| '''country-code''' || The ISO 3166 country code ||
     911|| '''supported-projections'' || A list of supported projections (inside srs tags) ||
     912|| '''srs''' || A projection name, part of its parent {{{supported-projections}}}, e.g {{{<srs>EPSG:4326</srs>}}} ||
    899913
    900914=== Tile Map Services (TMS) ===
     
    914928=== Web Map Services (WMS) ===
    915929
    916 URLs of these services must be designed to append arguments directly behind. So the they should either end with ''?'' or ''&''. Following arguments are added
    917  * width
    918  * height
    919  * bbox
    920  * srs - projection method - is only added when no srs is given already (In this case the projection is checked and an error is issued when they mismatch).
    921 
    922 If more specific URL design is needed, then patterns are supported as well. If patterns are found no other arguments are added:
     930For WMS you can specify tile URL template. Following patterns are supported:
    923931 * {proj} is replaced by projection. Also {proj('''...''')} is supported, where '''...''' is a list of comma separated EPSG codes to allow checking valid projections.
    924932 * {bbox} is replaced by bounding box using projected coordinates
     
    927935 * {w},{s},{n},{e} are replaced by corresponding coordinates
    928936
     937For compatibility the old format is still supported. It is used when no patterns are found:
     938 * URLs of these services must be designed to append arguments directly behind. So the they should either end with ''?'' or ''&''
     939 * The pattern WIDTH={width}&HEIGHT={height}&BBOX={bbox} is appended.
     940 * When no SRS= is found inside the URL also SRS={srs} is added.
     941 * If SRS parameter is found the projection is checked and an error is issued when they mismatch.
     942 * NOTE: Support of old format will be dropped in future.
     943
    929944=== Pseudo-WMS services ===
    930945