[mapserver-users] EXTENT
Ed McNierney
ed@topozone.com
Fri, 28 Jun 2002 12:25:04 -0400
This is a multi-part message in MIME format.
------_=_NextPart_001_01C21EC0.5BAD4812
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subrahmanyam -
=20
I have set up a very simple sample that demonstrates what you're trying =
to do. If you take a look at this URL:
=20
http://www.geozone.com/cgi-bin/mapserv.exe?mode=3Dmap =
<http://www.geozone.com/cgi-bin/mapserv.exe?mode=3Dmap&map=3D\MapServer\S=
ubrahmanyam\utm-wgs84.map> &map=3D\MapServer\Subrahmanyam\utm-wgs84.map
=20
you will see the quad you're working on (O33085H5.TIF) displayed at =
400x500 pixels reprojected into lat/lon WGS84 as you desire.
=20
The source raster data is just the standard USGS NAD27 GeoTIFF file. =
The complete MAP file referenced in the URL is:
=20
SIZE 400 500
EXTENT -85.625000 33.875000 -85.500000 34.000000
=20
PROJECTION
"init=3Depsg:4326"
END
=20
LAYER
TYPE RASTER
STATUS DEFAULT
DATA O33085H5.TIF=20
PROJECTION
"init=3Depsg:26716"
END
END
=20
END
Let me (and the list) know if you have more questions after you take a =
look.
=20
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
ed@topozone.com
(978) 251-4242=20
-----Original Message-----
From: subrahmanyam mannam [mailto:smannam@nsstc.uah.edu]
Sent: Thursday, June 27, 2002 5:39 PM
To: mapserver-users@lists.gis.umn.edu
Subject: [mapserver-users] EXTENT
hai,
i has the TIFF image,which is in EPSG:26716 projection and its =
bounding co-ordinates are as follows:
WEST BOUNDING COORDINATE: -85.625000
EAST BOUNDING COORDINATE: -85.500000 =20
NORTH BOUNDING COORDINATE: 34.000000=20
SOUTH BOUNDING COORDINATE: 33.875000=20
i wnat to reproject this image in EPSG:4326 projection.
does anybody knows ,how to calculate the EXTENT values for this =
image based on above information?
if some body knows,please mail me, that would be a great help
=20
thanks
subrahmanyam mannam
=20
=20
------_=_NextPart_001_01C21EC0.5BAD4812
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2>Subrahmanyam -</FONT></SPAN></DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2>I have=20
set up a very simple sample that demonstrates what you're trying to =
do. If=20
you take a look at this URL:</FONT></SPAN></DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2><A=20
href=3D"http://www.geozone.com/cgi-bin/mapserv.exe?mode=3Dmap&map=3D\=
MapServer\Subrahmanyam\utm-wgs84.map">http://www.geozone.com/cgi-bin/maps=
erv.exe?mode=3Dmap&map=3D\MapServer\Subrahmanyam\utm-wgs84.map</A></F=
ONT></SPAN></DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2>you=20
will see the quad you're working on (O33085H5.TIF) displayed at 400x500 =
pixels=20
reprojected into lat/lon WGS84 as you desire.</FONT></SPAN></DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2>The=20
source raster data is just the standard USGS NAD27 GeoTIFF file. =
The=20
complete MAP file referenced in the URL is:</FONT></SPAN></DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2>SIZE=20
400 500<BR>EXTENT -85.625000 33.875000 -85.500000 =
34.000000</FONT></SPAN></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2>PROJECTION<BR> =20
"init=3Depsg:4326"<BR>END</FONT></SPAN></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2>LAYER<BR> TYPE RASTER<BR> STATUS DEFAULT<BR> =
DATA=20
O33085H5.TIF <BR> PROJECTION<BR> =20
"init=3Depsg:26716"<BR> END<BR>END</FONT></SPAN></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2>END<BR></FONT></SPAN></DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2>Let me=20
(and the list) know if you have more questions after you take a=20
look.</FONT></SPAN></DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2> - Ed</FONT></SPAN></DIV>
<DIV><SPAN class=3D269291816-28062002><FONT face=3DArial color=3D#0000ff =
size=3D2>
<P><FONT size=3D2>Ed McNierney<BR>President and Chief =
Mapmaker<BR>TopoZone.com /=20
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North =
Chelmsford,=20
MA 01863<BR>ed@topozone.com<BR>(978) 251-4242=20
</FONT></P></DIV></FONT></SPAN>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> subrahmanyam =
mannam=20
[mailto:smannam@nsstc.uah.edu]<BR><B>Sent:</B> Thursday, June 27, 2002 =
5:39=20
PM<BR><B>To:</B> mapserver-users@lists.gis.umn.edu<BR><B>Subject:</B>=20
[mapserver-users] EXTENT<BR><BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>hai,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =
i has the=20
TIFF image,which is in EPSG:26716 projection and its bounding =
co-ordinates are=20
as follows:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> WEST BOUNDING =
COORDINATE: =20
-85.625000</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> EAST BOUNDING =
COORDINATE: =20
-85.500000 </FONT></DIV>
<DIV><FONT face=3DArial size=3D2> NORTH BOUNDING =
COORDINATE: =20
34.000000 </FONT></DIV>
<DIV><FONT face=3DArial size=3D2> SOUTH BOUNDING =
COORDINATE: =20
33.875000 </FONT></DIV>
<DIV><FONT face=3DArial size=3D2> i wnat =
to=20
reproject this image in EPSG:4326 projection.</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2> does=20
anybody knows ,how to calculate the EXTENT values for this =
image=20
based on above information?</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2> =
if some=20
body knows,please mail me, that would be a great help</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>subrahmanyam mannam</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2> </DIV>
<DIV><BR></DIV></BLOCKQUOTE></FONT></BODY></HTML>
------_=_NextPart_001_01C21EC0.5BAD4812--