Skip to content

Commit 4fa7588

Browse files
geographikagithub-actions[bot]
authored andcommitted
Document map_resolution WMS parameter
1 parent 20540b5 commit 4fa7588

File tree

2 files changed

+26
-12
lines changed

2 files changed

+26
-12
lines changed

en/mapfile/map.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ DEFRESOLUTION [double]
291291
symbology. Default is 72. Minimum is 10 and maximum is 1000.
292292

293293
Used to automatically scale the symbology when :ref:`RESOLUTION
294-
<resolution-parameter>` is changed, so the map maintains the same
294+
<mapfile-map-resolution>` is changed, so the map maintains the same
295295
look at each resolution. The scale factor is `RESOLUTION` /
296296
`DEFRESOLUTION`.
297297

@@ -451,10 +451,9 @@ NAME [name]
451451
.. index::
452452
pair: MAP; RESOLUTION
453453
:name: mapfile-map-resolution
454-
455-
.. _resolution-parameter:
456454

457-
RESOLUTION [double] Sets the pixels per inch for output, only affects
455+
RESOLUTION [double]
456+
Sets the pixels per inch for output, only affects
458457
scale computations. Default is 72. Minimum is 10 and maximum is 1000.
459458

460459
.. index::

en/ogc/wms_server.txt

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2143,6 +2143,25 @@ Vendor specific WMS parameters
21432143
.. note::
21442144
The angle value is in degrees clockwise.
21452145

2146+
.. index::
2147+
triple: WMS; Vendor specific parameters; bbox_pixel_is_point
2148+
2149+
**bbox_pixel_is_point**
2150+
2151+
- If this parameter is "TRUE", MapServer will treat the BBOX received in WMS
2152+
GetMap requests as if it was provided in pixel_is_point mode. Essentially
2153+
disabling the conversion from pixel_is_area (WMS model) to pixel_is_point that
2154+
is present in mapwms.c for that specific mapfile.
2155+
2156+
.. index::
2157+
triple: WMS; Vendor specific parameters; map_resolution
2158+
2159+
**map_resolution**
2160+
2161+
- Set this parameter to change the Map :ref:`RESOLUTION <mapfile-map-resolution>`.
2162+
MapServer uses a default screen resolution of 72 DPI. For high-resolution screens,
2163+
pass this parameter to ensure fonts and symbols appear at the correct size.
2164+
21462165
.. index::
21472166
triple: WMS; Vendor specific parameters; radius
21482167

@@ -2155,15 +2174,8 @@ Vendor specific WMS parameters
21552174
- The special value `bbox` that will change the query into a bbox
21562175
query based on the bbox given in the request parameters.
21572176

2158-
**bbox_pixel_is_point**
2159-
2160-
- If this parameter is "TRUE", MapServer will treat the BBOX received in WMS
2161-
GetMap requests as if it was provided in pixel_is_point mode. Essentially
2162-
disabling the conversion from pixel_is_area (WMS model) to pixel_is_point that
2163-
is present in mapwms.c for that specific mapfile.
2164-
21652177
.. index::
2166-
pair: WMS; Cascading requests
2178+
pair: WMS; HTTP status error codes
21672179

21682180
HTTP status error codes
21692181
-----------------------
@@ -2196,6 +2208,9 @@ to return HTTP 4xx or 5xx status codes in case of error.
21962208
END
21972209
END
21982210

2211+
.. index::
2212+
pair: WMS; Cascading requests
2213+
21992214
Cascading WMS Requests
22002215
----------------------
22012216

0 commit comments

Comments
 (0)