Re: [gdal-dev] convert raster to raw table ?

2024-12-12 Thread Michael Sumner via gdal-dev
Hmm, I see CSV special-case is close to what I need so I'll try modifying this along those lines. We could have -type "none", and a null value for "all bands" - and use the CSV special-case logic to write to other tabular formats. Cheers, Mike On Thu, Dec 12, 2024 at 11:59 PM Michael Sumner

Re: [gdal-dev] Install GDAL with gdal_ls available in PATH

2024-12-12 Thread Even Rouault via gdal-dev
Abul, gdal_ls.py is a non officially promoted script that isn't installed with GDAL. Your best luck is just to fetch it from https://github.com/OSGeo/gdal/blob/master/swig/python/gdal-utils/osgeo_utils/samples/gdal_ls.py , ship it with your program, and directly points at it.  It obviously re

[gdal-dev] Install GDAL with gdal_ls available in PATH

2024-12-12 Thread Abdul Raheem Siddiqui via gdal-dev
Hello, I am developing a compiled program in Golang that calls GDAL through subprocess calls. In one of the program's features that I am developing, I want to call *gdal_ls*. However, I see that gdal_ls is not available in PATH by default and hence can't be called directly in a terminal without sp

Re: [gdal-dev] convert raster to raw table ?

2024-12-12 Thread Michael Sumner via gdal-dev
Ah sweet, yes that's exactly it I remember reading about this new interface you wrote. Thanks Cheers, Mike On Thu, 12 Dec 2024, 22:41 Even Rouault, wrote: > Michael, > > doesn't do exactly what you want, but should be easy to modify to satisfy > your requirements: > https://github.com/OSG

Re: [gdal-dev] convert raster to raw table ?

2024-12-12 Thread Even Rouault via gdal-dev
Michael, doesn't do exactly what you want, but should be easy to modify to satisfy your requirements: https://github.com/OSGeo/gdal/blob/master/apps/gdal2ogr.c Even Le 12/12/2024 à 06:40, Michael Sumner via gdal-dev a écrit : Hi, I'd like to be able to create a tabular version efficiently d