geographic coordinates don't work
Fawcett, David
David.Fawcett at STATE.MN.US
Thu Jun 23 18:49:30 PDT 2005
Donald,
Not sure about your projections issue, it is possible that you haven't provided all of the necessary parameters. You might try using epsg codes to simplify things.
For LAYER status, setting it to default will make the layer automatically be displayed. Setting status to ON makes the layer available for querying, and to display it, you need to explicitly set the layer name in the URL. e.g. &map=mymapfile.map&layer=N_AL&layer=secondlayer
David.
-----Original Message-----
From: UMN MapServer Users List on behalf of Donlad Harter
Sent: Thu 6/23/2005 6:06 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Cc:
Subject: [UMN_MAPSERVER-USERS] geographic coordinates don't work
I would like to use geographic coordinates for my main window. My only
layer is georeferenced DRG which uses the UTM projection. It doesn't
work. If I change it and the extents to UTM it does. How can I use
geographic coordinates? I have also noticed that my map file won't work
with the layer status "on". It has to be "default"
Here is most of my map file.:
MAP
NAME test3
IMAGETYPE png
#EXTENT 578853 3857452.040 592267.160 3875770.440
EXTENT -86.125 34.875 -86 35 SIZE 1000 600
SHAPEPATH "/var/www/html/data/topo"
SYMBOLSET "tutorial/symbols/symbols35.sym"
FONTSET "tutorial/fonts/fonts.list"
WEB
TEMPLATE 'test3_template.html'
IMAGEPATH '/var/www/html/tmp/'
IMAGEURL '/tmp/'
MINSCALE 10000
MAXSCALE 250000
END
PROJECTION
"proj=latlong"
# "proj=utm"
"ellps=clrk66"
# "zone=16"
# "north" END
# Start of LAYER DEFINITIONS ---------------------------------------------
LAYER # raster layer begins here
NAME N_AL
STATUS DEFAULT TILEINDEX "al_index.shp"
TILEITEM "Location"
TYPE RASTER
SIZEUNITS meters
PROJECTION
"proj=utm"
"ellps=clrk66"
"zone=16"
"north" END
END # raster layer ends here
# End of LAYER DEFINITIONS -------------------------------
More information about the MapServer-users
mailing list