[mapserver-users] labeling a graticule

Brent Fraser bfraser at geoanalytic.com
Fri Jan 11 12:11:05 PST 2002


Steve (and others),

  Any thoughts on how to get perimeter labels for
a graticule?

I'd like the labels to be at the perimeter (just inside)
of the map graphic just above (or beside) the line
of latitude or longitude.  Right now they tend to be
scattered through out the map (see attached gif).

I've got a shapefile with line segments and the value
of the lat/lon line as an attribute as well as a "level"
attribute so the interval will change with the scale.

Here's the portion of my map file:

        LABEL
          COLOR 255 255 0
          TYPE TRUETYPE
          FONT arialbd
          SIZE 12
          POSITION UL
          ANGLE AUTO
          OFFSET 4 4
          PARTIALS FALSE
        END # Label



Of course what I'd really want is a native MapServer
Graticule object with lots of options for line drawing
and labelling on the outside perimeter of the map
graphic. Maybe v3.6?

Thanks!
Brent Fraser
bfraser at geoanalytic.com 
GeoAnalytic Inc.
#300 , 700 - 4th Avenue SW Calgary, AB
Canada T2P 3J4
Tel:  (403)213-2700 Fax:  (403)213-2707
www.geoanalytic.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020111/ce3cf07a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.gif
Type: application/octet-stream
Size: 8645 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020111/ce3cf07a/attachment.obj>


More information about the MapServer-users mailing list