[gdal-dev] GDAL (.NET) coordinate transformation via BETA2007

Even Rouault even.rouault at spatialys.com
Tue Aug 27 08:31:16 PDT 2019


> What i need:
> Beta2007 Transformation via EPSG code, but i don't know, where i have to
> change it.
 (optional) if i can't change the transformation via EPSG code
> via Gridfile, i need to know the correct proj4 string for my
> transformation. 

Works on the box with GDAL 3 + PROJ 6

$ echo "3000000 5500000" | gdaltransform -s_srs EPSG:31466 -t_srs EPSG:3857 --
debug on
OGRCT: Selecting transformation +proj=pipeline +step +proj=axisswap +order=2,1 
+step +inv +proj=tmerc +lat_0=0 +lon_0=6 +k=1 +x_0=2500000 +y_0=0 
+ellps=bessel +step +proj=hgridshift +grids=BETA2007.gsb +step +proj=webmerc 
+lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +ellps=WGS84 (Inverse of 3-degree Gauss-Kruger 
zone 2 + DHDN to WGS 84 (4) + Popular Visualisation Pseudo-Mercator)
1435447.09516912 6348270.59693845 0

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list