No subject
Christopher Harris
docterrobert at MSN.COM
Fri Sep 7 07:17:32 PDT 2007
No, I'm setting all the parameters (well, as many as I can and
understand). I tried to follow the Proj.4 .pdf manual and I was kinda
confused what lat_1, lon_1 and lat_2, lon_2 were supposed to be or if I
even needed them.
Here is my map file:
MAP
NAME UniversityOfIllinois
STATUS ON
SIZE 600 500
IMAGETYPE GIF
PROJECTION
"proj=utm"
"ellps=WGS84"
"datum=NAD83"
"zone=16"
"units=m"
"north"
END
EXTENT 393898 4438945 396253 4441379 #image is 1747 X 1916 pixels
UNITS METERS
SHAPEPATH "/var/www/mapserver/basic/data/illinois/"
IMAGECOLOR 255 255 255
OUTPUTFORMAT
NAME thegif
DRIVER "GD/GIF"
MIMETYPE "image/gif"
IMAGEMODE RGB
EXTENSION "gif"
END
WEB
IMAGEPATH "/var/www/mapserver/basic/images/"
IMAGEURL "/mapserver/basic/images/"
END
#REFERENCE
#IMAGE /var/www/mapserver/basic/data/illinois/colorUofIllinoisGIF.gif
# location of the image
#EXTENT 393898 4438945 396253 4441379
# extent of the image
#STATUS ON
# the overview is on by default
#COLOR -1 -1 -1
# transparent background
#OUTLINECOLOR 255 0 0
# the color of the outline
#SIZE 1747 1916
# the size of the image in pixels
#END
LAYER
NAME "UofI"
DATA "colorUofIllinoisGIF.gif"
TYPE RASTER
STATUS ON
PROJECTION
"proj=utm"
"ellps=WGS84"
"datum=NAD83"
"zone=16"
"units=m"
"north"
END
EXTENT 393898 4438945 396253 4441379
CLASS
EXPRESSION /*/
COLOR 0 255 0
END
END
END
I
have that reference section in there although I really don't know the
point behind it. It didn't change a thing, so I commented it out.
Thanks so much David for your help!
- Chris
_________________________________________________________________
Kick back and relax with hot games and cool activities at the Messenger Café.
http://www.cafemessenger.com?ocid=TXT_TAGLM_SeptWLtagline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070907/72399019/attachment.htm>
More information about the MapServer-users
mailing list