Can't project a layer of a shp that uses a utm_ wgs84 projection
Thomas Shaw
thomas at REDMILENIO.COM
Tue Aug 3 08:51:50 PDT 2004
Hello, I just assigned a utm_wgs84_zone14 projection to a shp file with
arcinfo. The next thing I wanted to do is to use mapserver to project that
shp as a layer. My mapfile is the following:
#
# Start of map file
#
MAP
NAME mapa_de_mexico
STATUS ON
SIZE 575 468
SYMBOLSET
/usr/local/mapserver_4/www/culiacan/temp/tracker/modules/Rastreo/symbols_mapinfo.sym
EXTENT -117.53926633136 8.7749367751593 -86.256395549464 34.869751589975
FONTSET "data/fonts/fonts.list" UNITS DD
SHAPEPATH "data/"
IMAGECOLOR 107 181 255
TRANSPARENT off
IMAGETYPE PNG
PROJECTION
"proj=utm"
"zone=14"
"ellps=WGS84"
"datum=WGS84"
"units=m"
"no_defs"
END
#
# Start of web interface definition
#
WEB
IMAGEPATH
"/usr/local/mapserver_4/www/culiacan/temp/tracker/modules/Rastreo/tmp/"
IMAGEURL "modules/Rastreo/tmp/"
END
##############################################################################
#
# Leon City layer
#
LAYER
NAME manchaleon
GROUP "mex"
TYPE polygon
STATUS on
CONNECTIONTYPE OGR
CONNECTION "data/leoncalles_Polygon.shp"
PROJECTION
"proj=utm"
"zone=14"
"ellps=WGS84"
"datum=WGS84"
"units=m"
"no_defs"
END
CLASS
NAME "mancha"
COLOR 0
OUTLINECOLOR 0
END
TOLERANCE 5
END
#-----------------------------------------
END #map
The thing is that mapserver is not displaying that layer..., but it is not
displaying any error either.
I'll appreciate if anyone can help me with it. Thank you
Thomas Shaw.
More information about the MapServer-users
mailing list