[gdal-dev] How to change wrong PixelIsArea into correct PixelIsPoint?

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Tue Dec 17 22:58:19 PST 2019


Thanks Even,

I did read about GTIFF_POINT_GEO_IGNORE configuration option from https://trac.osgeo.org/gdal/wiki/rfc33_gtiff_pixelispoint but somehow wrapped my brain to think that not ignoring the difference is the right choice. At least I will remember it now and perhaps it feels also logical.

-Jukka-

-----Alkuperäinen viesti-----
Lähettäjä: Even Rouault <even.rouault at spatialys.com> 
Lähetetty: tiistai 17. joulukuuta 2019 19.01
Vastaanottaja: gdal-dev at lists.osgeo.org
Kopio: Rahkonen Jukka (MML) <jukka.rahkonen at maanmittauslaitos.fi>
Aihe: Re: [gdal-dev] How to change wrong PixelIsArea into correct PixelIsPoint?

Jukka,

> I was thinking that I can make a clever fix with gdal_edit so I made a 
> copy of "area.tif" as "point.tif" and then I edited it
> 
> gdal_edit -mo AREA_OR_POINT=Point point.tif

Just add --config GTIFF_POINT_GEO_IGNORE YES to the above

Even

--
Spatialys - Geospatial professional services http://www.spatialys.com


More information about the gdal-dev mailing list