Hi Even, with GDAL 2.4.2 on a CMD (gdaltransform) it works fine, too. But not in my application, which is used the GDAL.Native NuGet package.
If it helps, I can write you a small test program. Or is there another (better) way to transform geometries in SQLServer? -----Ursprüngliche Nachricht----- Von: Even Rouault <[email protected]> Gesendet: Dienstag, 27. August 2019 17:31 An: [email protected] Cc: Carsten Lockenkötter <[email protected]> Betreff: Re: [gdal-dev] GDAL (.NET) coordinate transformation via BETA2007 > 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 _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
