[mapserver-users] convert projection from UTM to WGS84 using proj

Murat Beyhan beyhan at deprem.gov.tr
Thu May 17 07:56:26 PDT 2012


Dear Jorn Vegard,

thanks for this help I have done it and I obtained DD WGS84 shape file
but problem the data which I study on it goes 3 degree east of the
actual places. I mean 3 degree shifted on the longitude. So how can I
ignore  this problem. 

here is command: 

ogr2ogr -s_srs "+proj=utm +datum=European_Datum_1950 +epsg:4230
+zone=37" -t_srs "+proj=latlong +datum=wgs84 +epsg:4326"  mahalle1.shp
mahalle.shp

thanks

On Wed, 2012-05-16 at 11:21 +0200, Jørn Vegard Røsnes wrote:
> Hi,
> maybe something like this:
> 
> ogr2ogr -s_srs epsg:4230 -t_srs epsg:4326  <dest shapefile> <source shapefile>
> 
> http://www.gdal.org/ogr2ogr.html
> 
> kind regards
> Jørn-Vegard Røsnes
> 
> ----- Original Message -----
> > From: "Murat Beyhan" <beyhan at deprem.gov.tr>
> > To: "mapserver-users" <mapserver-users at lists.osgeo.org>
> > Sent: Wednesday, 16 May, 2012 10:41:39 AM
> > Subject: [mapserver-users] convert projection from UTM to WGS84 using proj
> >
> > Dear friends,
> > I'm sorry, I'm not good at GIS applications but I wondering about
> > conversion between various projection or datum of the data files.
> >
> > data.shp data.shx data.dbf and data.prj files are available.
> >
> > shpdump data.shp gives following
> >
> > Shape:0 (ArcZ)  nVertices=4, nParts=1
> >   Bounds:(  513275.786, 4006041.761, 0, 0)
> >       to (  513345.812, 4006078.182, 0, 0)
> >      (  513275.786, 4006078.182, 0, 0) Ring
> >      (  513301.130, 4006064.906, 0, 0)
> >      (  513321.636, 4006053.249, 0, 0)
> >      (  513345.812, 4006041.761, 0, 0)
> > ...
> >
> >
> >
> >
> >
> > data.prj as follows
> >
> > PROJCS["(UTM)Universal Transvers Merkator 3�",GEOGCS["EUROPEAN
> > 1950",DATUM["European_Datum_1950",SPHEROID["International",6378388.00000000,297.00000000],
> > TOWGS84[-87.00000000,-98.00000000,-121.00000000,0.00000000,0.00000000,0.00000000,0.00000000]],
> > PRIMEM["Greenwich",0.00000000],UNIT["Degree",0.01745329],AUTHORITY["EPSG","4230"]],PROJECTION["TRANSVERSE_MERCATOR"],
> > PARAMETER["SCALE_FACTOR",1.00000000],PARAMETER["CENTRAL_MERIDIAN",36.00000000],PARAMETER["LATITUDE_OF_ORIGIN",0.00000000],
> > PARAMETER["FALSE_EASTING",500000.00000000],PARAMETER["FALSE_NORTHING",0.00000000],UNIT["meter",1.00000000]]
> >
> >
> > using these data How to convert a file which is created using
> > european_datum_1950 to WGS84 (World Geodetic System 1984)
> > or where I have to start to understand these method of applications
> > using PROJ4.
> > Thanks
> > muratB
> >
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> 
> CONFIDENTIALITY
> This e-mail and any attachment contain KONGSBERG information which may be
> proprietary, confidential or subject to export regulations, and is only meant
> for the intended recipient(s). Any disclosure, copying, distribution or use is
> prohibited, if not otherwise explicitly agreed with KONGSBERG. If received in
> error, please delete it immediately from your system and notify the sender
> properly.
> 
> 



Murat BEYHAN 

Jeofizik Y.Müh.
T.C. Başbakanlık
Afet ve Acil Durum Yönetimi Başkanlığı
Deprem Dairesi Başkanlığı
Eskişehir Yolu 12. Km.
Lodumlu/ANKARA
Tel: 312 2872680-1556
email:beyhan at deprem.gov.tr




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the MapServer-users mailing list