Jez,

Is the following code of any use?

orientation definitely works in this way as does height. I am currently
working on getting the color from PostGIS too - I am testing it just now.
Will be looking at how to specify to font and the correct position based on
the database as well.

Regards,

Donald


DATA "geom FROM (SELECT toid, featurecode, textstring, height*4 AS height,
orientation/10 AS orientation, substring(col,0,2)|| ' ' ||
substring(col,2,2) || ' ' || substring(col,4,2) AS oscolor, fontnumber,
anchorposition, textstyle, geom FROM cartographictext) AS foo USING UNIQUE
toid" 

CLASS
        # Tidal Water
        EXPRESSION ([featurecode] = 10204)
        LABEL
                TYPE truetype
                FONT arial
                SIZE [height]
                MAXSIZE 21
                MINSIZE 4
                POSITION cc
                #COLOR  0 153 255
                COLOR [oscolor]
                ANTIALIAS TRUE
                ANGLE [orientation]
                FORCE TRUE
        END # LABEL
END # CLASS
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/UK-Ordnance-Survey-MasterMap-Cartographic-Text-orientation-display-problem-tp5293281p5648192.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to