You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating a <map-extent> for an image-based map, the current MapML extension serializes two <map-input>s which reflect the standard width and height WMS parameter values. Such inputs are serialized to support GetMap and GetFeatureInfo request templates, and (currently) have hard-coded min and max attribute values:
...
<map-extentunits="OSMTILE"><map-inputname="z" type="zoom" min="0" max="18"/>
<map-inputname="xmin" type="location" rel="map" position="top-left" axis="easting" units="pcrs" min="1.6011619366020126E7" max="1.6528622369542673E7"/>
<map-inputname="ymin" type="location" rel="map" position="bottom-left" axis="northing" units="pcrs" min="-5411138.5986247435" max="-4804213.1199940005"/>
<map-inputname="xmax" type="location" rel="map" position="top-right" axis="easting" units="pcrs" min="1.6011619366020126E7" max="1.6528622369542673E7"/>
<map-inputname="ymax" type="location" rel="map" position="top-left" axis="northing" units="pcrs" min="-5411138.5986247435" max="-4804213.1199940005"/>
<map-inputname="w" type="width" min="1" max="10000"/>
<map-inputname="h" type="height" min="1" max="10000"/>
<!-- If the layer is queryable per the GeoServer catalog, a query link template and associated variables should be serialized --><map-linkrel="image" tref="http://example.org/geoserver/wms?request=GetMap&crs=EPSG:3857&service=WMS&bbox={xmin},{ymin},{xmax},{ymax}&layers=tasmania_state_boundaries&styles=green&format=image/png&width={w}&language=en&version=1.3.0&transparent=true&height={h}"/>
<map-inputname="i" type="location" axis="i" units="map"/>
<map-inputname="j" type="location" axis="j" units="map"/>
<map-linkrel="query" tref="http://example.org/geoserver/wms?request=GetFeatureInfo&query_layers=tasmania_state_boundaries&crs=EPSG:3857&bbox={xmin},{ymin},{xmax},{ymax}&language=en&version=1.3.0&transparent=true&service=WMS&layers=tasmania_state_boundaries&width={w}&x={i}&feature_count=50&y={j}&styles=green&info_format=text/mapml&height={h}"/>
</map-extent>
...
Requirement
All width and height inputs should be serialized with the min and max attribute values in effect for the GeoServer system, if such limits indeed exist.
Background
When generating a <map-extent> for an image-based map, the current MapML extension serializes two <map-input>s which reflect the standard
width
andheight
WMS parameter values. Such inputs are serialized to support GetMap and GetFeatureInfo request templates, and (currently) have hard-codedmin
andmax
attribute values:Requirement
All
width
andheight
inputs should be serialized with themin
andmax
attribute values in effect for the GeoServer system, if such limits indeed exist.(Possible) Reference
<map-input type="height" name="h" min="16" max="2048"></map-input>
The text was updated successfully, but these errors were encountered: