If using Numpy ReadAsArray maybe your friendOn Apr 14, 2024, at 7:48 PM, Michael Sumner via gdal-dev wrote:Hi, I'm getting some pushback on my code style. I just want the raw bytes in-memory of a file in Python, for a manageable tiny dataset. Is there anything especially wrong with the following?
If you are using numpy ReadAsArray maybe your friend
> On Apr 14, 2024, at 7:48 PM, Michael Sumner via gdal-dev
> wrote:
>
> Hi, I'm getting some pushback on my code style. I just want the raw bytes
> in-memory of a file in Python, for a manageable tiny dataset.
>
> Is there anything especi
With some formats sizeof, fseek and ftell can be most useful
> On Jul 7, 2023, at 5:33 AM, Abel Pau wrote:
>
> Hi,
> I would like to know if when we use the code of GDAL to program a driver (or
> whatever) in vectors (so, ogr) we can assume that we can know the number of
> elements we are go
perhaps this will help
https://stackoverflow.com/questions/70664043/clip-raster-with-polygon-with-gdal-c
> On May 30, 2023, at 8:12 AM, Ahmet Temiz wrote:
>
> Hi,
> I am trying to clip a tif file with a polygon. But resulting output.tif file
> shows nothing.
>
> Where am I doing wrong ?
>
> "
> On May 10, 2021, at 6:17 PM, Even Rouault wrote:
>
> All,
>
> some good news below !
Awesome news !!!
>
> Message transféré
>
> Hi Howard and GDAL team,
>
> I'm excited to share the news that GDAL has been approved as a NumFOCUS
> sponsored project! It's fantastic to
I usually peruse the ogr2ogr.py source for hints
maybe this helps
https://github.com/OSGeo/gdal/blob/master/gdal/swig/python/samples/ogr2ogr.py#L1512
> On Dec 10, 2020, at 3:39 AM, Martin Landa wrote:
>
> Hi,
>
> is there a way to apply PROMOTE_TO_MULTI in Python API? I am trying to
> write a s