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

Jørn Vegard Røsnes jorn at spacetec.no
Fri May 18 08:00:47 EDT 2012


Hi,

I lost your previous email, so this is just by memory.
I'm not an projection expert, but here we go :-)

Regarding 3dg offset:
In your .prj file there is an false easting=500000, so maybe it helps adding +x_0=500000.
http://proj.maptools.org/gen_parms.html
Se also +towgs84 in the same link and .prj file, and adjust accordingly.

Maybe a shot in the dark because 3dg = 333958,33m (40 075,017km / 360dg).
I think you're near the solution.

See also
http://spatialreference.org/
http://spatialreference.org/ref/epsg/4230/

kind regards
Jørn-Vegard Røsnes

----- Original Message -----
> From: "Jørn Vegard Røsnes" <jorn at spacetec.no>
> To: "Murat Beyhan" <beyhan at deprem.gov.tr>
> Cc: "mapserver-users" <mapserver-users at lists.osgeo.org>
> Sent: Wednesday, 16 May, 2012 11:21:22 AM
> Subject: Re: [mapserver-users] convert projection from UTM to WGS84 using proj
> 
> 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.



More information about the mapserver-users mailing list