Re: [gdal-dev] tps - gdalwarp vs ogr2ogr

2023-11-06 Thread Rahkonen Jukka via gdal-dev
Hi, The slowness feels bad. I fear I must also have a try with your dataset. -Jukka- Lähettäjä: Stijn Tallir Lähetetty: tiistai 7. marraskuuta 2023 9.30 Vastaanottaja: Rahkonen Jukka Kopio: gdal-dev@lists.osgeo.org Aihe: Re: [gdal-dev] tps - gdalwarp vs ogr2ogr Hi Jukka, The transformation l

Re: [gdal-dev] tps - gdalwarp vs ogr2ogr

2023-11-06 Thread Stijn Tallir via gdal-dev
Hi Jukka, The transformation lasted 3h20min vs 9min (before the fix)! The results for raster and vector tps transformation are very similar now and nothing changed for the vector result. Do I have to conclude the previous rasters tps transformation method was faulty then? Stijn Op ma 6 nov 2023

Re: [gdal-dev] tps - gdalwarp vs ogr2ogr

2023-11-06 Thread Stijn Tallir via gdal-dev
Hi, Does that mean the old raster tps transformation was "wrong" or the old vector transformation? I'm doing a test and trying to transform my raster image with the latest dev version in osgeo4W but it takes forever to process now. Don't know in how many days I will see the result :( The vector

Re: [gdal-dev] Call for review and discussion on RFC96: Deferred in-tree C++ plugin loading

2023-11-06 Thread Even Rouault via gdal-dev
Hi, I've revised a bit the RFC (https://github.com/OSGeo/gdal/pull/8648/commits/b7053db2f433275edf16286596e71f3ceb9738a5) to unify the way the plugin driver proxy and the actual driver declare their metadata. This avoids the new GDALPluginDriverFeatures class, and will limit the risk of omiss

Re: [gdal-dev] tps - gdalwarp vs ogr2ogr

2023-11-06 Thread Rahkonen Jukka via gdal-dev
Hi, See the issue https://github.com/OSGeo/gdal/issues/8572. Maybe your problem is also resolved by https://github.com/OSGeo/gdal/pull/8573. The fix is included in the GDAL 3.8 RC1 version that was released 3 hour ago. Do you have an option to make a test? -Jukka Rahkonen- Lähettäjä: Stijn Ta

Re: [gdal-dev] oblique cuts on a raster using python GDAL

2023-11-06 Thread Javier Jimenez Shaw via gdal-dev
This is producing something nicer, without those "white pixels". It is adding an alpha band: gdalwarp 3635_rasters_agreges.jp2 salida.jp2 -cutline geometry_extraction.shp -crop_to_cutline -cl geometry_extraction -overwrite -dstalpha On Mon, 6 Nov 2023 at 14:05, Javier Jimenez Shaw wrote: > This

Re: [gdal-dev] oblique cuts on a raster using python GDAL

2023-11-06 Thread Javier Jimenez Shaw via gdal-dev
This is working for me (and also in gdal 3.8.0): gdalwarp 3635_rasters_agreges.jp2 salida.tif -cutline geometry_extraction.shp -crop_to_cutline -dstnodata 0 -cl geometry_extraction -overwrite -of GTiff About the "white" pixels inside the image, it could be that a single band has a value of 0 (not

Re: [gdal-dev] tps - gdalwarp vs ogr2ogr

2023-11-06 Thread Stijn Tallir via gdal-dev
Hi Jukka, I finally found the time to produce a test set. You can download it here: https://drive.google.com/file/d/1Y08Q-tIm5dxyKFKNdVqilvAO3H7FFFbx/view?usp=sharing I started from an unreferenced raster file (raster2tps.tif) with gcp's (gcp4tps.gcp) and transformed it with tps (tpsraster.tif).

[gdal-dev] GDAL 3.8.0 rc1 is available

2023-11-06 Thread Even Rouault via gdal-dev
Hi, I have prepared a GDAL/OGR 3.8.0 release candidate. NEWS at:   https://github.com/OSGeo/gdal/blob/v3.8.0RC1/NEWS.md (small change in it since the initial version I mentioned last week: there is a new optional dependency: libaec, needed for some GRIB files) Pick up an archive among the fol

Re: [gdal-dev] oblique cuts on a raster using python GDAL

2023-11-06 Thread Javier Jimenez Shaw via gdal-dev
Hi Naima I have been testing with your dataset. To me, using the GDAL in Ubuntu 22.04 (3.4.1) seems to be a problem with the JP2 output format. If you output as geotiff it works fine. On Sun, 5 Nov 2023 at 19:43, Rahkonen Jukka via gdal-dev < gdal-dev@lists.osgeo.org> wrote: > Hi, > > > > Please

[gdal-dev] oblique cuts on a raster using python GDAL

2023-11-06 Thread Naima Dambrine via gdal-dev
HI, i do not know if you receive my precedent attachments, so my apologies if so. here is a shared link for original image and geometry extraction Thank you, Partage ___ gdal-

[gdal-dev] GDAL 2.4.4 compilation fails with pdfium

2023-11-06 Thread Johannes Paul via gdal-dev
Hello, I've been trying to compile GDAL 2.4.4 on Centos7 with pdfium unfortunately it fails with the following ld errors: libgdal.so: undefined reference to `CFDF_Document::CreateNewDoc()' libgdal.so: undefined reference to `CPDF_Document::AddStandardFont(char const*, CPDF_FontEncoding*)' PDFium

[gdal-dev] Folder shared with you: "Partage"

2023-11-06 Thread Naima Dambrine (via Google Drive) via gdal-dev
I've shared an item with you: Partage https://drive.google.com/drive/folders/1wTFicbuB9jWQD-7qACjzIJ0qEeTH1OGZ?usp=sharing&invite=CIaU2tkC&ts=6548a442 It's not an attachment -- it's stored online. To open this item, just click the link above. Share Raster image and geometry for oblique cut _

[gdal-dev] Folder shared with you: "Partage"

2023-11-06 Thread Naima Dambrine (via Google Drive) via gdal-dev
I've shared an item with you: Partage https://drive.google.com/drive/folders/1wTFicbuB9jWQD-7qACjzIJ0qEeTH1OGZ?usp=sharing&invite=CIaU2tkC&ts=6548a406 It's not an attachment -- it's stored online. To open this item, just click the link above. ___ gda