[gdal-dev] [EXTERNAL] Re: gdal.Rasterize with same OGR dataset from two python threads
Meyer, Jesse R. (GSFC-618.0)[SCIENCE SYSTEMS AND APPLICATIONS INC]
jesse.r.meyer at nasa.gov
Mon Oct 28 10:30:04 PDT 2024
This solved the crashes, though there was no performance improvement from having these run in parallel. Difficult to say from here if this is a Python GIL or SQL contention issue.
Best,
Jesse
Lead Computer Scientist
Science Systems and Applications, Inc.
Dr Compton Tucker Team
NASA Goddard Space Flight Center
From: Even Rouault <even.rouault at spatialys.com>
Date: Monday, October 28, 2024 at 12:19 PM
To: Meyer, Jesse R. (GSFC-618.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] <jesse.r.meyer at nasa.gov>, Meyer, Jesse R. (GSFC-618.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] via gdal-dev <gdal-dev at lists.osgeo.org>
Subject: Re: [EXTERNAL] Re: [gdal-dev] gdal.Rasterize with same OGR dataset from two python threads
CAUTION: This email originated from outside of NASA. Please take care when clicking links or opening attachments. Use the "Report Message" button to report suspicious messages to the NASA SOC.
Le 28/10/2024 à 17:15, Meyer, Jesse R. (GSFC-618.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] a écrit :
How can I “open” a handle to a pre-existing memory dataset? That sounds like it may work for me.
If it is a dataset from the "Memory" driver, no. Otherwise you could for example create a GeoPackage (or shapefile... if you don't want to hit any SQLite locking) as a /vsimem/ file and open it as many times as wished.
--
http://www.spatialys.com<http://www.spatialys.com/>
My software is free, but my time generally not.
Butcher of all kinds of standards, open or closed formats. At the end, this is just about bytes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20241028/92bcd103/attachment-0001.htm>
More information about the gdal-dev
mailing list