Hi Sjur, Matching the ellipsoids in cs2cs seems to work, but I really need to be able to use the PRJ information in gdalwarp. Shouldn't GDAL be using the PRJ information to correctly transform between sphere and ellipsoid?
This also doesn't explain why the Sinusoidal/WGS84 transformation had such a large error. It matches the ellipsoid properly and still exhibits issues. Any idea as to why gdalwarp would exhibit such an error even when the ellipsoids match? Scott Sjur Kolberg wrote: > > > Ssobieraj, > > If the 16 km offset is in N-S direction, and the E-W error is small, it > might be a sphere/ellipsoid problem. From your RT90 I am guessing you're > in Sweden, at which latitude you would expect approximately this error. > The effect is beyond projection, latlong/sphere to latlong/WGS84 gives > equally long offsets. Try using cs2cs and specify ellipsoids for both > input and output. > > There were some discussions on the gdal-dev list about this in June 2007. > > It is only when one of the ellipsoids is a sphere you get these large > errors, otherwise the error resulting from messing up ellipsoids is much > smaller. > > Hope this helps, > > Sjur K :-) > > -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Require-Help-Transforming-into-Equirectangular-tp5789691p5793509.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
