[Mapserver-users] Graticule problem

Ann Keane Ann.Keane at noaa.gov
Tue Nov 25 19:28:31 EST 2003


I'm having a problem adding a GRID layer to an albers projected map. 
The grid is fine, except that it adds a couple of extra lines which 
intersect at the center of the projection.  An example of this is here:

http://www.etl.noaa.gov/tmp/NEAQS-ITCT106980036229689.png


Has any seen this or bet yet fixed it?

Thanks-
Ann


The map file has the overall projection:

EXTENT -4530061.9375 89.6875 3618936.0 713.75 # Albers
UNITS METERS

PROJECTION
"+proj=aea +lat_0=40.0 +lon_0=-40.0 lat_1=29.5 lat_2=45.5 "
END

And the GRID layer is:

LAYER
NAME "GRID"
TRANSPARENCY 30

PROJECTION
  "proj=latlong"
END
TYPE LINE
STATUS DEFAULT
CLASS
   COLOR 0 0 0
   LABEL
   TYPE BITMAP
   SIZE MEDIUM
   COLOR 0 0 0
   OUTLINECOLOR 255 255 255
END
END
GRID
  MINSUBDIVIDE 64
  MAXSUBDIVIDE 64
  MININTERVAL 10
  MAXINTERVAL 10
  LABELFORMAT "DDMM"
  END
END




More information about the mapserver-users mailing list