Graticule not working?

Berend Veldkamp berend.veldkamp at ARIS.NL
Tue Aug 24 10:29:23 PDT 2004


Hi,

Has anyone used the "GRID" object in a mapfile successfully? I found
this thread:
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0303/msg00215.html
and it seems there's still something wrong. When I add a grid,
php/mapscript hangs. Here's the relevant part of my mapfile:

   LAYER
     NAME "grid"
     METADATA
       WMS_TITLE "Graticule"
     END
     TYPE line
     STATUS off
     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
     PROJECTION
       "init=epsg:28992"
     END
     GRID
       LABELFORMAT ddmm
       MAXARCS 10
       MAXINTERVAL 10
       MAXSUBDIVIDE 2
     END
   END # Layer

MapScript 4.2
PHP 4.3.4
Chameleon 1.99
Windows XP SP1
Apache 2.0.46



More information about the MapServer-users mailing list