LAYER
DATA "hexagon"
TYPE LINE
STYLEITEM "sld://data/mysldfile.sld"
END
LAYER
from the SLD
filecrs
, bbox
, and bbox-crs
request parameters now supported
http://localhost/ogcapi/collections/mn_counties/items?f=json
&crs=http://www.opengis.net/def/crs/EPSG/0/4326
&bbox=-90,-180,90,0&bbox-crs=http://www.opengis.net/def/crs/EPSG/0/4326
MAP
or LAYER
METADATA
LAYER
...
METADATA
# storageCrs is first in the list
"oga_srs" "EPSG:32615 EPSG:4326"
END
END
/usr/share/proj/
&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&CRS=esri:54009
MAP
EXTENT -15029959 -3957687 1941951 8824504
# World Mollweide projection (ESRI:54009)
# this is not a EPSG projection so we add a custom projection here
PROJECTION
"init=ESRI:54009"
END
WEB
METADATA
"wms_srs" "EPSG:4326 ESRI:54009"
...
STYLE
SYMBOL "circle"
SIZE ([priority] *2) # double the priority attribute to calculate the size
COLOR "#4A993A"
END
EMPTY
and ERROR
CONFIG
ENV
MS_ERROR_URL "/error.html"
MS_EMPTY_URL "/empty.html"
END
END
CONFIG
MAPS
mykey "/path/to/mapfile"
END
END
hsl-color
, hsl-hue
, hsl-luminosity
, hsl-saturation
Sponsorship and Sponsorship Opportunities