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

2019-12-17 Thread Rahkonen Jukka (MML)
. -Jukka- -Alkuperäinen viesti- Lähettäjä: Even Rouault Lähetetty: tiistai 17. joulukuuta 2019 19.01 Vastaanottaja: gdal-dev@lists.osgeo.org Kopio: Rahkonen Jukka (MML) Aihe: Re: [gdal-dev] How to change wrong PixelIsArea into correct PixelIsPoint? Jukka, > I was thinking that I

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

2019-12-17 Thread Even Rouault
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 servic

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

2019-12-17 Thread Rahkonen Jukka (MML)
Hi, I have some images with wrong metadata. They are tagged as pixel-is-area images and listgeo shows the tag GTRasterTypeGeoKey (Short,1): RasterPixelIsArea Actually geotiffs are measurements and they should use RasterPixelIsPoint and images should be shifted be half a pixel on a map. I was t