two layers different projections
Jon Saints
saintsjd at YAHOO.COM
Tue Mar 15 16:26:27 PST 2005
I have two layers in different projections. My
mapserver is compiled with PROJ support.
One layer is: lat-long
the other is:
UTM Zone 18N, NAD 83, meters
resolution: 30 cm
my mapfile is:
NAME DC
STATUS ON
SIZE 1024 768
WEB
IMAGEPATH "/var/www/jons/dcmap/tmp/"
IMAGEURL "/jons/dcmap/tmp/"
MAXSCALE -2.0
END
EXTENT -77.1665 38.7813 -76.8628 39.0053
UNITS dd
IMAGECOLOR 255 255 255
IMAGETYPE png
PROJECTION
"proj=latlong"
END
LEGEND
KEYSPACING 10 0
END
REFERENCE
EXTENT -77.1665 38.7813 -76.8628 39.0053
IMAGE /var/www/jons/dcmap/tmp/ref.gif
STATUS on
SIZE 200 150
END
LAYER
NAME dcdem2000
TYPE POLYGON
STATUS ON
METADATA
desc "Census Blocks"
logo "test.jpg"
END
TEMPLATE "blank.html"
DATA "/home/jons/Data/DC/created/dcdem2000"
CLASS
NAME "Census Blocks 2000"
COLOR 225 225 225
OUTLINECOLOR 100 100 100
END
PROJECTION
"proj=latlong"
END
UNITS dd
END
LAYER
UNITS meters
NAME dcorthoindex
TYPE POLYGON
STATUS ON
METADATA
desc "Aerial Photos Index"
logo "test.jpg"
END
TEMPLATE "blank.html"
DATA "/home/jons/Data/DC/created/dcorthoindex"
CLASS
NAME "Aerial Photo Index"
OUTLINECOLOR 200 100 100
END
PROJECTION
"proj=utm"
"ellps=GRS80"
"datum=NAD83"
" zone=18"
END
END
END
Thanks
Jon
More information about the MapServer-users
mailing list