Problem with Graticule and polar stereographic projection

Steve Roberts sroberts at UCAR.EDU
Wed May 18 16:44:31 PDT 2005


Hello,

I am having problems with using a graticule on a polar stereographic
projection. When the map is centered near the north pole all the lat/lon
lines disappear from the center of the image. You can find an example at:

http://www.joss.ucar.edu/cgi-bin/catalog/mapserv?mode=map&layer=GRID&map=/web/catalog/bug/grid_test.map


I'm also seeing spurious straight line segments that parallel the latitude
lines. This site is using mapserver-4.2.3 on SunOS 5.9 sparc SUNW,Ultra-6.
However I see the same problem with mapserver-4.4.2 on linux Mandrake 10.1.
Any help in solving this problem would be greatly appreciated. Below is the
sample grid_test.map file.

Thanks,
Steve

--------------begin grid_test.map---------------------------------
MAP
NAME test
STATUS ON
SIZE 600 600
EXTENT -1000000 -1100000 900000 1000000
UNITS meters
IMAGECOLOR 255 255 255
OUTPUTFORMAT
  NAME png
  DRIVER "GD/PNG"
  MIMETYPE "image/png"
  IMAGEMODE RGB
  EXTENSION "png"
END
PROJECTION
    "proj=stere"
    "ellps=WGS84"
    "datum=WGS84"
    "lat_0=90"
    "lat_ts=67.5"
    "lon_0=-155"
    "units=m"
END
LAYER
  NAME "GRID"
  TRANSPARENCY 30
  PROJECTION
    "proj=latlong"
    "ellps=WGS84"
    "datum=WGS84"
  END
  TYPE LINE
  STATUS OFF
  CLASS        COLOR 0 0 0
        LABEL
              TYPE BITMAP
              SIZE MEDIUM
              COLOR 0 0 0
              OUTLINECOLOR 255 255 255
        END
  END
  GRID
        LABELFORMAT "DDMMSS"
  END
END
END
---------------end grid_test.map---------------------------



More information about the MapServer-users mailing list