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.roua...@spatialys.com> 
Lähetetty: tiistai 17. joulukuuta 2019 19.01
Vastaanottaja: gdal-dev@lists.osgeo.org
Kopio: Rahkonen Jukka (MML) <jukka.rahko...@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
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to