[Gdal-dev] gdalwarp does not use my +towgs84 parameter
Frank Warmerdam
warmerdam at pobox.com
Tue Oct 2 11:19:24 EDT 2007
On 10/2/07, Uwe Raudszus <URaudszus at stadtdo.de> wrote:
>
> Hallo List,
>
> I'm trying to reproject a tif image using gdalwarp. Specially,
> from GAUSS-KRUEGER Zone 2 to UTM Zone 32 (epsg:25832). For more precision i
> try to use local towgs84
> parameter. But it seems so, that gdalwarp does not use my +towgs84
> parameter.
> Is there any way to include these parameters in my gdalwarp code?
...
> C:\work\rasterfactory\work>gdalwarp -s_srs "+proj=tmerc +lat_0=0 +lon_0=6
> +k=1.0
> 00000 +x_0=2500000 +y_0=0 +ellps=bessel +datum=potsdam
> +towgs84=600.75,20,413 +
> units=m"
Uwe,
I think the problem is your specifying +datum=potsdam. This
internally evaluates to a +ellps and +towgs84 setting and
GDAL picks up the first, not the last towgs84 setting.
So, hopefully, just dropping the +datum=potsdam setting
will resolve the issue.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Gdal-dev
mailing list