[mapserver-users] Fixed positioning
Lime, Steve D (MNIT)
steve.lime at state.mn.us
Tue Aug 8 09:55:36 PDT 2017
Yup, it's possible, for example:
http://maps1.dnr.state.mn.us/cgi-bin/mapserv70?map=/usr/local/mapserver/apps/test/barter/test.map&mode=map
The mapfile is below...
MAP
NAME 'barter'
SIZE 256 256
IMAGECOLOR 255 255 255
EXTENT 0 0 255 255
SYMBOL
NAME 'circle'
TYPE ELLIPSE
POINTS 1 1 END
FILLED TRUE
END
LAYER
NAME 'marker'
TYPE POINT
STATUS DEFAULT
FEATURE
POINTS 0 0 END
END
TRANSFORM CC
CLASS
STYLE
SYMBOL 'circle'
COLOR 255 0 0
SIZE 10
END
END
END
LAYER
NAME 'label'
TYPE POINT
STATUS DEFAULT
FEATURE
POINTS 0 -20 END
END
TRANSFORM LC
CLASS
LABEL
TEXT 'some text to display'
SIZE SMALL
COLOR 0 0 0
END
END
END
END
--Steve
-----Original Message-----
From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Dave Barter
Sent: Tuesday, August 08, 2017 11:38 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Fixed positioning
Is it possible for me to have a layer that places a symbol at the centre of the generated tile and text at a fixed position from the bottom?
My aim is to make a single WMS tile call to get back a map image with marker at centre and text at bottom.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list