projection parameters?

Jose Luis Portillo jporti68 at YAHOO.COM
Wed Jan 5 14:20:22 PST 2005


Thanks Frank
Look, All the information will be in utm projection, and I just have used two of this layer to test this matter of the projection.
And also I would like that the map show the coordinates in UTM, I already know the extent of the map:
EXTENT 245892.718 1435130.25 915200.00 1827780.00

I did set the map projection with the line you gave me
PROJECTION
  "+proj=utm +zone=16 +datum=NAD27"
END
and also I wrote this for each layer object, but I still have problems with the map, any clue?,
Jose Luis

On Wed, 5 Jan 2005 13:36:02 -0800, Jose Luis Portillo
<jporti68 at yahoo.com> wrote:
> Hello All
> Before I had work with proj=latlong data and had not problem, but now
I am
> working with data which is in utm, zone 16, north, datum = nad27 and
I am
> having problems, the data just doesn't appear in the map.
> Can someone tell me which could be the right parameters that I need
for this
> projection and the place where I should put this information within
the .map
Jose,
For a projection block, you might use:
PROJECTION
  "+proj=utm +zone=16 +datum=NAD27"
END
You would place this on any LAYER objects that are in this
coordinate system.  Is your overall map display going to be in
UTM as well, or are you needing MapServer to reproject to
lat/long?
The most common problems are mixups in the coordinates
(for instance, using lat/long angular values when UTM values
should be used or vice versa), but more generally you need
to examine the extents of your datasets fairly carefully.
If you know the bounds in UTM of a dataset, you can reproject
it to lat/long with the proj.exe program (part of PROJ.4 ... not
always distributed wtih MapServer though).
eg.
proj -I +proj=utm +zone=11 +datum=NAD27 << EOF
? 400000 3700000
? EOF
118d4'32.742"W  33d26'11.277"N
I hope this is somewhat helpful.
Best regards,

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050105/6b533788/attachment.htm>


More information about the MapServer-users mailing list