how to make a graticule layer ...

Sears, Jeremy Jeremy.Sears at CCRS.NRCAN.GC.CA
Thu Dec 15 17:02:44 EST 2005


Hi All,
Im wondering if anyone could point me in the direction of some documentation
outlining how to create a graticule.

I grabbed the following code from the archive, however after adding it to a
.map file, Mapserver hangs. That is to say Mapserver becomes unresponsive.

Any Suggestions?

Thanks
Jeremy

######################################
#  GRID
#
LAYER
  NAME "Grid"
  TYPE LINE
  STATUS DEFAULT
  CLASS
    NAME "Graticule"
    COLOR 0 0 0
    LABEL
      COLOR 255 0 0
      FONT "arial"
      TYPE truetype
      SIZE 8
      POSITION auto
      PARTIALS false
      BUFFER 5
      OUTLINECOLOR 255 255 255
    END
  END

  GRID
    LABELFORMAT DDMM
    MAXARCS 10
    MINARCS 2
    MAXINTERVAL 20
    MININTERVAL 10
    MAXSUBDIVIDE 40
    MINSUBDIVIDE 2
  END
END



More information about the mapserver-users mailing list