# [Proj] Problem converting from WGS84 to ROME40

Luca Casagrande luca.casagrande at gmail.com
Wed Sep 14 06:06:43 EDT 2005

```-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frank Warmerdam wrote:

>On 9/13/05, Luca Casagrande <luca.casagrande at gmail.com> wrote:
>
>>Hi to all guys!
>>I need to convert from WGS84 to ROME40 a point on te Peninsula part of
>>Italy; surfing through doc, i compose this line:
>>
>>cs2cs -vErs +proj=latlong +datum=WGS84 +to +proj=latlong +ellps=intl
>>+towgs84=-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68 \punto
>>
>>Punto is:
>>43d07'08.7045"N 12d21'17.6455"E 341,964
>>
>>And the ouput of that line is:
>>
>>43d07'08.7045"N 12d21'17.6455"E 341 43d7'6.341"N 12d21'18.369"E
>>295.341
>>
>>I know for sure that real coordinates are: 43d7'06.3"N -0d05'50.00"E
>>292,605 ( the longituide in Roma40, start from Monte Mario wich is
>>012° 27' 08,4" Est)
>
>
>Luca,
>
>should have +pm=rome indicating the prime meridian at rome.
>
>eg.
>cs2cs +proj=latlong +datum=WGS84 +to +proj=latlong +pm=rome
>+ellps=intl +towgs84=-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68
>12d21'17.6455"E 43d07'08.7045"N
>0d5'50.03"W 43d7'6.341"N -45.663
>
>Note that the longitude west of rome is equivelent to a negative
>longtidue east of rome in your expected result.
>
>Best regards,

Hi frank and thank you very much for the help...
Just for knowing, is it possibile to have with E longitude?

Thx
Luca

- --

Nel 1969, 2 commodore 64 sono riusciti a far andare l'uomo sulla Luna...
oggi, nel 2005, un Athlon XP 3500+ fa fatica a far girare Windows XP!!!
Come si suol dire...

Utente Linux 373965
ICQ 54327636
skype : thedoktor78
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDJ/YzjOc4inWoPfARAjcvAJ43yl3ZkwSICUhDFFGh81MDJWiKHQCgqp2s
qa+/nJydSfOWY53Yn9z82BA=
=YJMB
-----END PGP SIGNATURE-----

```