Yes! That is it. It explains so much. Thanks for figuring this out. I learned
something important today.
--
Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers
On 5/26/23, 1:48 PM, "gdal-dev on behalf of Even Rouault"
mailto:gdal-dev-boun...@lists.osgeo.org> on
behalf
On Fri, May 26, 2023, at 20:48, Even Rouault wrote:
> yes, the issue must come from the fact that gdal.VectorTranslate()
> returns a gdal.Dataset handle that is still active, and you could
That's what I originally tried and it didn't work, but it does now. Maybe I
made a typo.
Seems all right,
Le 26/05/2023 à 19:40, Laurențiu Nicola via gdal-dev a écrit :
It's a bit strange, I can reproduce it when pasting into the REPL, but not when
running from a file.
yes, the issue must come from the fact that gdal.VectorTranslate()
returns a gdal.Dataset handle that is still active, and you c
It's a bit strange, I can reproduce it when pasting into the REPL, but not when
running from a file.
Laurentiu
On Fri, May 26, 2023, at 20:27, Michael Smith wrote:
> Well, a new install of gdal from conda-forge and now it works fine.
> Sorry for the noise.
>
> Mike
>
>
> --
>
> Michael Smith
Well, a new install of gdal from conda-forge and now it works fine. Sorry for
the noise.
Mike
--
Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers
On 5/26/23, 1:09 PM, "Michael Smith" mailto:michael.smith.e...@gmail.com>> wrote:
Interesting, that is different from
Interesting, that is different from what I get. I guess I have to look at how
I'm building gdal from conda-forge. I do compile in two plugins (mrsid and oci)
but I wouldn't that it would affect things.
at 01:05:23 PM ❯ ipython
Python 3.11.3 | packaged by conda-forge | (main, Apr 6 2023, 08:57:
Michael,
I've also just tried with 3.7.0 from conda-forge and this works fine for me:
I've just slightly modified your script to output more info:
from osgeo import ogr, gdal
ds = gdal.OpenEx('{ "type": "Polygon", "coordinates": [ [ [
179.828821134787177, 66.686572724877635 ], [ -179.71878684
I assume I am doing something incorrect here but I am taking an incoming
geojson feature and attempting to split it on the dateline:
Using gdal 3.7.0 from conda-forge
ds = gdal.OpenEx('{ "type": "Polygon", "coordinates": [ [ [
179.828821134787177, 66.686572724877635 ], [ -179.718786846664386,