Re: [gdal-dev] Motion: RFC 78: gdal-utils package

2021-03-25 Thread mhw-at-yg
Having been away from gdal-dev for some years, happily existing as an end of the line tool only user, and only recently re-engaging with the development community I have nothing to say on the strength and validity the RFC. I would like to comment though that it doesn't have a high altitude overvi

Re: [gdal-dev] Computing a geo-transform with gdalwarp from a set of GCPs also rectifies the input images

2021-03-25 Thread Even Rouault
If it is not possible to get this information, could you point out the code snippet that performs the rectification step? Since GDAL's code base is quite large, it is not easy to find the appropriate location. Entry point of the logic to compute the transformation from source pixel coordinates

Re: [gdal-dev] Computing a geo-transform with gdalwarp from a set of GCPs also rectifies the input images

2021-03-25 Thread Joaquim Manuel Freire Luís
>Since GDAL's code base is quite large, it is not easy to find the appropriate >location. I have found that using Visual Studio Code is an unvaluable tool to navigate in large source codes. To find a definition of a function one only have to right-click it and ask to go to its definition. From

Re: [gdal-dev] Motion: RFC 78: gdal-utils package

2021-03-25 Thread Alan Snow
> IMHO telling people who want to install the utils to pip install gdal-utils makes more sense... The circular dependency does make things tricky. Writing documentation sounds like the way to go in this scenario. ___ gdal-dev mailing list gdal-dev@lists.

Re: [gdal-dev] Computing a geo-transform with gdalwarp from a set of GCPs also rectifies the input images

2021-03-25 Thread Bullinger, Sebastian
Hi, @Andrew > Have you noticed whether the output image has no-data pixels at the > edges, or crops the original ? I would expect it to do a little of each. The output image has no-data values - it does not crop the image - which is inline with the description by Even (see below). @Even > W

Re: [gdal-dev] Motion: RFC 78: gdal-utils package

2021-03-25 Thread Daniel Evans
There’s also the option of using the “extra dependencies” functionality for Python packages, which is often used for including, well, extra features! https://setuptools.readthedocs.io/en/latest/userguide/dependency_management.html#optional-dependencies Again, it’s not entirely the intended use c

Re: [gdal-dev] Motion: RFC 78: gdal-utils package

2021-03-25 Thread Andrew C Aitchison
So if I currently have gdal, which includes the utils and I run pip --upgrade I will get the new gdal without the utils but not gdal-utils, so the upgrade will remove the utils functionality ? On Thu, 25 Mar 2021, Idan Miara wrote: Hi Alan, pip install gdal-utils Will install also gdal as

Re: [gdal-dev] Motion: RFC 78: gdal-utils package

2021-03-25 Thread Idan Miara
Hi Alan, pip install gdal-utils Will install also gdal as it is its dependency. In case we will take the utils out of the gdal sdist - Even tough your suggestion to add gdal-utils as a dependency to gdal would make `pip install gdal` to also install both, it makes less sense to me as gdal does no

Re: [gdal-dev] Motion: RFC 78: gdal-utils package

2021-03-25 Thread Sean Gillies
It looks to me like this RFC commits the project to spending more energy on language bindings for the next few versions. I'm not enthusiastic about that, but am not super opposed. So I'm a -0. On Wed, Mar 24, 2021 at 1:58 PM Kurt Schwehr wrote: > +0 KurtS > > I have some vague undefined unease

Re: [gdal-dev] Computing a geo-transform with gdalwarp from a set of GCPs also rectifies the input images

2021-03-25 Thread Even Rouault
Hi, When creating an output file from scatch (either it doesn't exist, or -overwrite is used), gdalwarp will always produce a "north-up" image in the target CRS. This is by design of the utility. If you just want to subset, preserving the original orientation, use gdal_translate. In update mo

Re: [gdal-dev] Computing a geo-transform with gdalwarp from a set of GCPs also rectifies the input images

2021-03-25 Thread Andrew C Aitchison
On Tue, 23 Mar 2021, Bullinger, Sebastian wrote: Dear gdal community, I'm currently working with a set of satellite images that are geo-registered with a set of GCPs. To compute a geo-transform from the GCPs, I've been using gdalwarp with: gdalwarp -of GTiff path/to/original/file path/to/war

Re: [gdal-dev] interpreting gdalcompare results

2021-03-25 Thread mhw-at-yg
Oohhh. A "doh!" moment. I did not see the word `overview` in "Band 1 overview count difference:" heading. Sheesh. Thanks Jukka! - -Matt -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@list

[gdal-dev] gdal_retile not enough memory

2021-03-25 Thread Pierre
Hi, I have a set of .jp2 files (orthophotos) which I want to use in Geoserver. All the files are around 24,5 Go. I transform all the .jp2 files in a .vrt : gdalbuildvrt D:\ortho\ortho.vrt -srcnodata 255 -hidenodata D:\ortho\2020\*.jp2 Then I launch a gdaladdo on the .vrt. The .ovr file created i

Re: [gdal-dev] Motion: RFC 78: gdal-utils package

2021-03-25 Thread Alan Snow
> Removing the utils from the gdal sdist/wheel means that people who install gdal won't have the utils unless they installed the utils wheel. You mentioned that gdal_utils is now on pypi. Are you able to set it as a dependency in the setup.py so it is installed when the main osgeo/gdal python pack

Re: [gdal-dev] interpreting gdalcompare results

2021-03-25 Thread jratike80
Hi, There is some documentation in https://gdal.org/programs/gdalcompare.html: Synopsis: gdalcompare.py [-sds] golden_file new_file The file that is considered correct, referred to as the golden file. The file being compared to the golden file, referred to as the new file. In your report the

Re: [gdal-dev] Gdal Java

2021-03-25 Thread paul.malm
Hi Stefan, Thanks for responding on my guestion for help! -I've downloaded release-1928-x64-gdal-3-2-1-mapserver-7-6-2.zip and unzipped it to C:\Program Files\Gdal_321. -Then I added to the system path: C:\Program Files\Gdal_321\bin\gdal\java and C:\Program Files\Gdal_321\bin. -Restarted the compu