[MS4W-Users] How to build mapfile symbology with dynamic value inside the symbol?
Mark Volz
MarkVolz at co.lyon.mn.us
Fri Feb 7 09:56:00 EST 2014
Shiva,
It is also possible to use an image background as well.
CLASS
TEXT ([ROADNUM])
MAXSCALEDENOM 260000
#EXPRESSION 'A30'
EXPRESSION ('[CLASS]' eq 'A30' and '[ROADNUM]' ne '0')
COLOR 0 0 0 #dummy color
SYMBOL 'symbols/highway.png'
LABEL
type truetype # AGG required
size 7 #for AGG
ANTIALIAS TRUE
FONT vera_sans #for AGG
MINFEATURESIZE 25
MINDISTANCE 200
END # LABEL
END #CLASS
This snippet is from a annotation layer
Mark Volz, GISP
GIS Specialist
> -----Original Message-----
> From: ms4w-users-bounces at lists.maptools.org [mailto:ms4w-users-
> bounces at lists.maptools.org] On Behalf Of shiva.sk4
> Sent: Friday, February 07, 2014 6:19 AM
> To: ms4w-users at lists.maptools.org
> Subject: [MS4W-Users] How to build mapfile symbology with dynamic value
> inside the symbol?
>
> Hello Everybody,
>
> Is it possible to build mapfile point symbol style such that dynamic text (in
> my case a number) can be shown inside the circle/polygon boundary as
> shown in the attached images.
>
> Regards,
> Shiva Shankar
>
> <http://osgeo-org.1560.x6.nabble.com/file/n5102487/MrORO.png>
> <http://osgeo-org.1560.x6.nabble.com/file/n5102487/AHNb3.png>
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/How-
> to-build-mapfile-symbology-with-dynamic-value-inside-the-symbol-
> tp5102487.html
> Sent from the ms4w-users mailing list archive at Nabble.com.
> _______________________________________________
> MS4W-Users mailing list
> MS4W-Users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ms4w-users
More information about the MS4W-Users
mailing list