[Qgis-user] NTv2-transformation: different output values in QGIS and GDAL

Totò Fiandaca pigrecoinfinito at gmail.com
Tue Jan 16 03:46:15 PST 2024


I followed this guide [1], but as soon as I click on calculate appears (in
the mapcanvas) the message that you need to install the grid.
Clicking on install, I inserted the path that points to the grilled,
from me gives results ok.

[1]
https://docs.qgis.org/3.28/en/docs/user_manual/working_with_projections/working_with_projections.html#integrate-an-ntv2-transformation-in-qgis

saluti

Il giorno mar 16 gen 2024 alle ore 12:00 andy via QGIS-User <
qgis-user at lists.osgeo.org> ha scritto:

> Hi,
> I'm doing NTv2-transformation, using this gsb file:
>
> https://web.archive.org/web/20201018143532/https://provincia.agrigento.sitr.it/scaricabili/NTv2/ItalyED50toWGS84_NTV2_GN.gsb
>
> I have copied it in "C:\OSGeo4W\share\proj" and I have defined this custom
> projection:
> +proj=utm +zone=33 +ellps=intl +nadgrids=ItalyED50toWGS84_NTV2_GN.gsb
> +units=m +no_defs +type=crs
>
> If I test it in QGIS, in the custom CRS window, using lon=13 and lat=38, I
> have in output:
> 324388.7743
> 4207772.1972
>
> If I do the same in gdal, running
>
> gdaltransform --debug ON -s_srs EPSG:4326 -t_srs "+proj=utm +zone=33
> +ellps=intl +nadgrids=C:\OSGeo4W\share\proj\ItalyED50toWGS84_NTV2_GN.gsb
> +units=m +no_defs +type=crs"
>
> I get
> 324454.613619553
> 4207894.92605038
>
> Why do I have these differences? Am I doing something wrong?
>
> I'm using QGIS 3.28.2-Firenze and GDAL 3.6.2, released 2023/01/02, in
> Windows 11.
>
> Thank you,
>
> Andrea
>
> --
> ___________________
>
> Andrea Borruso
> website: https://medium.com/tantotanto
> 38° 7' 48" N, 13° 21' 9" E, EPSG:4326
> ___________________
>
> "cercare e saper riconoscere chi e cosa,
>  in mezzo all’inferno, non è inferno,
> e farlo durare, e dargli spazio"
>
> Italo Calvino
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>


-- 
*Ing. Salvatore Fiandaca*
*mobile*.:+39 327.493.8955
*m*: *pigrecoinfinito at gmail.com <pigrecoinfinito at gmail.com>*
*C.F*.: FNDSVT71E29Z103G
*P.IVA*: 06597870820
*membro QGIS Italia - http://qgis.it/ <http://qgis.it/>*
*socio GFOSS.it - *http://gfoss.it/
*member OSGeo* - *https://www.osgeo.org/member/fiandaca/*
<https://www.osgeo.org/member/fiandaca/>
*blog:*
* https://pigrecoinfinito.com/ <https://pigrecoinfinito.com/> FB: Co-admin
- https://www.facebook.com/qgis.it/ <https://www.facebook.com/qgis.it/>**
<https://www.facebook.com/qgis.it/> *
*TW:  <http://goog_95411464>**https://twitter.com/totofiandaca
<https://twitter.com/totofiandaca>*

43°51'0.54"N  10°34'27.62"E - EPSG:4326

“Se la conoscenza deve essere aperta a tutti,
perchè mai limitarne l’accesso?”
R. Stallman

Questo documento, allegati inclusi, contiene informazioni di proprietà di
FIANDACA SALVATORE e deve essere utilizzato esclusivamente dal destinatario
in relazione alle finalità per le quali è stato ricevuto. E' vietata
qualsiasi forma di riproduzione o divulgazione senza l'esplicito consenso
di FIANDACA SALVATORE. Qualora fosse stato ricevuto per errore si prega di
informare tempestivamente il mittente e distruggere la copia in proprio
possesso.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240116/67e53877/attachment.htm>


More information about the QGIS-User mailing list