[mapserver-dev] Mapfile keywords questions

Lime, Steve D (MNIT) steve.lime at state.mn.us
Mon Jun 26 11:33:16 PDT 2017

Let me research a little and get back to you... --Steve

-----Original Message-----
From: mapserver-dev [mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Seth G
Sent: Friday, June 23, 2017 6:33 PM
To: mapserver-dev at lists.osgeo.org
Subject: [mapserver-dev] Mapfile keywords questions

Hi list,

I'm trying to get the definitive list of current Mapfile keywords and 
syntax for a Mapfile parser I'm working on 

I've gone through the MapServer docs, and also the sourcecode and have a 
few keywords that aren't documented and I'm not sure are still used. If 
anyone has any details on the list below it would be very useful. I can 
open issues if necessary and update docs.

RELATIVETO - mentioned in 
https://github.com/mapserver/mapserver/issues/1547 (from 2006) and is in 
the maplexer.l file. It is not in the test mapfile created when the 
issue was resolved 
So it may never have been used?

COMPFILTER - http://www.mapserver.org/development/rfc/ms-rfc-113.html - 
not used? Looks interesting! Should be added to 
http://www.mapserver.org/mapfile/composite.html ?

GRATICULE - used to be a LAYER CONNECTION type, but now deprecated?

SCALETOKEN - should be in http://www.mapserver.org/mapfile/layer.html 
Documented in http://www.mapserver.org/output/kerneldensity.html

LATLON - in maplexer.l but not sure where this would be used in a Mapfile.

JAVASCRIPT - it is a token in maplexer.l, but not sure where this would 
be needed (javascript is in quotes as part of the GEOTRANSFORM options)

SCALE - again a token, but I can only find it as a LAYER processing 

INDEX - not sure what this keyword is for (and hard to search for..)

SIMPLE, TITLE, VALUES - all in maplexer.l but not in docs.

COLORRANGE and DATARANGE - should be added to the STYLE doc page - 
currently only documented at http://mapserver.org/output/kerneldensity.html

Some keywords only seem valid as part of Mapscript rather than a 
last 2 are PHP join types only?)

Also some non-quoted values also seem to be missing from the docs:

LINECAP - http://www.mapserver.org/mapfile/style.html?highlight=linecap 
- should TRIANGLE be a documented option? It is in maplexer.l and also 
mentioned at 



web: http://geographika.co.uk
twitter: @geographika

mapserver-dev mailing list
mapserver-dev at lists.osgeo.org

More information about the mapserver-dev mailing list