[gdal-dev] ogr2ogr reprojection, features are not transformed

Even Rouault even.rouault at mines-paris.org
Tue Nov 15 18:16:49 EST 2011


Le mercredi 16 novembre 2011 00:02:24, Etienne Tourigny a écrit :
> Even,
> 
> I had tried that as I thought it could be the cause, however:
> 
> I get the same result, although the +towgs84 parameters are set in the
> source OGRCT.
> 
> You can see the shapes are identical in size:
> -rw------- 1 tourigny tourigny 371684 2011-11-15 20:52 LC_CIDADE_32722.shp
> -rw------- 1 tourigny tourigny 371684 2011-11-15 19:35 LC_CIDADE_sad69.shp
> -rw------- 1 tourigny tourigny 371684 2011-11-15 19:33 LC_CIDADE.shp
> -rw------- 1 tourigny tourigny 371684 2011-11-15 20:46
> LC_CIDADE_wgs84-2.shp

Ah, and you didn't check the result with ogrinfo ? I can a difference when 
looking at the geometries.

There's no reason that the .shp would have different sizes. Reprojection only 
affects the value of coordinate values, which in .shp are binary double. So 
whatever its value, a double value uses 8 bytes ;-)


More information about the gdal-dev mailing list