Re: coord transformation with Proj4



On Feb 24, 12:28 pm, Zoran <zorant_BRI...@xxxxxxxxxxxxxxx> wrote:
Hello!
Does anyone use proj4 with 7-parameter for coordinate transformation.
I try to convert wgs84 to Croatian HDKS but unsuccesfull.
I use this command line
cs2cs.exe -v -E  +proj=latlong +ellps=GRS80
+towgs84=-528.6481,-119.5964,-467.1873,6.061424,2.749619,-9.525554,1.064918
+to +proj=tmerc +ellps=bessel +lat_0=0 +lon_0=15 +k=0.9999
+x_0=5500000 +y_0=0 inwgs > out.txt

Inwgs:
14 45 100

out.txt:
# ---- From Coordinate System ----
#Lat/long (Geodetic)
#      
# +proj=latlong +ellps=GRS80
#
+towgs84=-528.6481,-119.5964,-467.1873,6.061424,2.749619,-9.525554,1.064918
# ---- To Coordinate System ----
#Transverse Mercator
#       Cyl, Sph&Ell
# +proj=tmerc +ellps=bessel +lat_0=0 +lon_0=15 +k=0.9999 +x_0=5500000
+y_0=0
14 45 100       5421169.76      4984360.80 806.66

But this is not correct result.
I have correct result when i transform with alltrans using same 7
parameters
5421533.2467 4984445.3383 100.1539

Any idea?

Makni _BRISI_ iz mail adrese

Proj4 had a dedicate mailing list.
.



Relevant Pages

  • Re: coord transformation with Proj4
    ... Does anyone use proj4 with 7-parameter for coordinate transformation. ... Makni _BRISI_ iz mail adrese ...
    (sci.geo.satellite-nav)
  • coord transformation with Proj4
    ... Does anyone use proj4 with 7-parameter for coordinate transformation. ... I try to convert wgs84 to Croatian HDKS but unsuccesfull. ... I use this command line ... #Transverse Mercator ...
    (sci.geo.satellite-nav)