Dear gdal community, I'm a new user of gdal and I recently had a problem with precision. I tried to translate a big GeoTIFF to a smaller one, specifying the extent of the window in this way:
gdal_translate -projwin_srs EPSG:4326 -epo -strict -a_nodata 0 -projwin 9.500000 46.000000 10.000000 45.500000 -of GTiff -co COMPRESS=LZW 2015_e009_n46_e010_n45.tif try.tif Now try.tif has extent: 8.9996489996399998,44.9992232790750890 : 10.0006417207349152,46.0002160001700062 Is this normal? Because it's a pretty big error for me. Then, you can see this error in the map https://imgur.com/a/CNx7U. The white color is the original (source) GeoTIFF in background. The black color is try.tif and the vertical line is the extent I specified in the command. Can you help me? Thanks -- *Marco De Nadai* *Ph.D. student at Fondazione Bruno Kessler (FBK) - * *MobS Unit* *University of Trento* Via Sommarive, 18 - Povo 38123 Trento (TN) - Italy E-mail: [email protected] LinkedIn: https://it.linkedin.com/in/marcodenadai Latest research paper: The Death and Life of Great Italian Cities: A Mobile Phone Data Perspective <https://www.technologyreview.com/s/601107/data-mining-reveals-the-four-urban-conditions-that-create-vibrant-city-life/>
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
