Trouble with displaying projected shapefile
Hoeven, Maarten van der
Maarten.van.der.Hoeven at KNMI.NL
Tue Jun 21 04:49:30 PDT 2005
Dear list,
I have a shape file, world_eca, projected in "north pole stereographic".
Below are the projection specifications.
I added the shape file in the map, but I do not manage to display it in
mapserver. Is there something obvious I am doing wrong?
An "echo $gpoMap->getProjection()" reveals "+proj=stere +lat_ts=90
+lat_0=90 +lon_0=0 +k_0=1 +x_0=0 +y_0=0"
Regards,
Maarten van der Hoeven
--- projection specs ---
PROJCS["North_Pole_Stereographic",
GEOGCS["GCS_WGS_1984",
DATUM["D_WGS_1984",
SPHEROID["WGS_1984",6378137.0,298.257223563]],
PRIMEM["Greenwich",0.0],
UNIT["Degree",0.0174532925199433]],
PROJECTION["Stereographic"],
PARAMETER["False_Easting",0.0],
PARAMETER["False_Northing",0.0],
PARAMETER["Central_Meridian",0.0],
PARAMETER["Scale_Factor",1.0],
PARAMETER["Latitude_Of_Origin",90.0],
UNIT["Meter",1.0]]
--- map file ---
#
# Start of map file
#
NAME ECAD
STATUS ON
SIZE 400 300
SYMBOLSET ../etc/symbols.sym
EXTENT -90 0 90 90
UNITS meters
SHAPEPATH "../data"
IMAGECOLOR 255 255 255
FONTSET ../etc/fonts.txt
PROJECTION
"+proj=stere"
"+lat_ts=90"
"+lat_0=90"
"+lon_0=0"
"+k_0=1"
"+x_0=0"
"+y_0=0"
END
QUERYMAP
STATUS ON
STYLE SELECTED
COLOR 255 0 0
END
WEB
MINSCALE 2000
MAXSCALE 50000000
IMAGEPATH "/webdata/ecad/htdocs/tmp/"
IMAGEURL "/tmp/"
LOG /tmp/gmap.log
END
REFERENCE
IMAGE images/keymap.png
EXTENT -2200000 -712631 3072800 3840000
STATUS ON
COLOR -1 -1 -1
OUTLINECOLOR 255 0 0
SIZE 120 90
END
LEGEND
KEYSIZE 18 12
LABEL
TYPE BITMAP
SIZE MEDIUM
COLOR 0 0 89
END
STATUS ON
END
SCALEBAR
IMAGECOLOR 255 255 255
LABEL
COLOR 0 0 0
SIZE SMALL
END
SIZE 350 5
COLOR 255 255 255
BACKGROUNDCOLOR 255 0 0
OUTLINECOLOR 0 0 0
UNITS kilometers
INTERVALS 10
STATUS ON
END
LAYER
NAME world_eca
PROJECTION
"+proj=stere"
"+lat_ts=90"
"+lat_0=90"
"+lon_0=0"
"+k_0=1"
"+x_0=0"
"+y_0=0"
END
TYPE POLYGON
STATUS ON
DATA world_eca
CLASS
STYLE
OUTLINECOLOR 100 100 100
COLOR 191 209 255
END
END
END
END # Map File
Drs. Maarten van der Hoeven
ECA&D Project
PO Box 201
3730 AE De Bilt
The Netherlands
Phone: +31-30-2206 402
Fax: +31-30-2204 614
Email: hoevenvd at knmi.nl (personal)
Email: eca at knmi.nl (project)
Website: http://eca.knmi.nl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050621/eb38eacd/attachment.htm>
More information about the MapServer-users
mailing list