Re: [gdal-dev] Adding gcps to a raster using gdal_translate can result in data loss.

2021-03-30 Thread Hays Barrett
Will do. Thanks! From: "Even Rouault" To: "Rahkonen Jukka (MML)" , "hays" Cc: gdal-dev@lists.osgeo.org Sent: Tuesday, March 30, 2021 11:12:38 AM Subject: Re: [gdal-dev] Adding gcps to a raster using gdal_translate can result in data loss. Jukka' s

Re: [gdal-dev] Adding gcps to a raster using gdal_translate can result in data loss.

2021-03-30 Thread Even Rouault
data are lost with default algorithm. -Jukka Rahkonen- *Lähettäjä:*Hays Barrett *Lähetetty:* tiistai 30. maaliskuuta 2021 19.32 *Vastaanottaja:* Rahkonen Jukka (MML) *Kopio:* gdal-dev@lists.osgeo.org *Aihe:* Re: [gdal-dev] Adding gcps to a raster using gdal_translate can result in data loss

Re: [gdal-dev] Adding gcps to a raster using gdal_translate can result in data loss.

2021-03-30 Thread Rahkonen Jukka (MML)
source data are lost with default algorithm. -Jukka Rahkonen- Lähettäjä: Hays Barrett Lähetetty: tiistai 30. maaliskuuta 2021 19.32 Vastaanottaja: Rahkonen Jukka (MML) Kopio: gdal-dev@lists.osgeo.org Aihe: Re: [gdal-dev] Adding gcps to a raster using gdal_translate can result in data loss. I

Re: [gdal-dev] Adding gcps to a raster using gdal_translate can result in data loss.

2021-03-30 Thread Hays Barrett
26, 2021 2:59:36 PM Subject: Re: [gdal-dev] Adding gcps to a raster using gdal_translate can result in data loss. Hi, Please give an exact example. Preferably with a raster that can be created from command line with gdal_create followed by other required commands. Or alternatively Python co

Re: [gdal-dev] Adding gcps to a raster using gdal_translate can result in data loss.

2021-03-26 Thread jratike80
Hi, Please give an exact example. Preferably with a raster that can be created from command line with gdal_create followed by other required commands. Or alternatively Python code that re-produces the issue. -Jukka Rahkonen- Hays Barrett wrote > If the gcps stretch the image beyond the dimensi

[gdal-dev] Adding gcps to a raster using gdal_translate can result in data loss.

2021-03-26 Thread Hays Barrett
If the gcps stretch the image beyond the dimensions of the original raster it appears to clip the data that sits outside of the original raster dimensions rather than increase the raster dimensions to fit the stretched data . Is this the expected behavior? If so is there a way to increase the d