[Mapserver-users] OGR2OGR and map units

Krzysztof Chodak k.chodak at autoguard.pl
Thu Mar 20 06:45:56 EST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_001E_01C2EEDE.A6E2D870
Content-Type: text/plain;
	charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

Hello,

have anyone an idea how to convert a spatial layer that is in WGS84 =
projection and in degrees into Mercator projection that is olso in =
degrees?
Currently I use such syntax:
ogr2ogr -f "ESRI Shapefile" target.shp source.tab -s_srs srsfile
srsfile: +proj=3Dmerc +ellps=3Dbassel +lat_ts=3D0N +lon_0=3D110E =
+k=3D0.997 +x_0=3D3900000 +y_0=3D900000 +no_defs
and I got proper projection on output but in meters.

Big thanks in advance for any information.

Krzysztof Chodak
------=_NextPart_000_001E_01C2EEDE.A6E2D870
Content-Type: text/html;
	charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-2">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV>Hello,</DIV>
<DIV>&nbsp;</DIV>
<DIV>have anyone an idea how to convert a spatial layer that is in WGS84 =

projection and in degrees into Mercator projection that is olso in=20
degrees?</DIV>
<DIV>Currently I use such syntax:</DIV>
<DIV>ogr2ogr -f "ESRI Shapefile" target.shp source.tab -s_srs =
srsfile</DIV>
<DIV>srsfile: +proj=3Dmerc +ellps=3Dbassel +lat_ts=3D0N +lon_0=3D110E =
+k=3D0.997=20
+x_0=3D3900000 +y_0=3D900000 +no_defs</DIV>
<DIV>and I got proper projection on output but in meters.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Big thanks in advance for any information.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Krzysztof Chodak</DIV></DIV></BODY></HTML>

------=_NextPart_000_001E_01C2EEDE.A6E2D870--




More information about the mapserver-users mailing list