Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from OSGeo:master #112

Merged
merged 12 commits into from
Feb 18, 2025
Merged

[pull] master from OSGeo:master #112

merged 12 commits into from
Feb 18, 2025

Conversation

pull[bot]
Copy link

@pull pull bot commented Feb 18, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

samiermerchant and others added 12 commits February 12, 2025 20:54
…t), which can lead to scenarios where one thread destroys the context while another is still using it

Undo 94ede75, which causes segfaults when using gdal in a multi-threaded environment such as a thread worker pool.

It might be the case that one thread "destroys" the context (m_psLastContext) while another thread is still using it, leading to a segfault. As you can see with the following line: m_psLastContext = OSRGetProjTLSContext();
DXF: Don't hide block entities on layer 0 when that layer is frozen
Update ogrct.cpp to remove shared shared proj context (m_psLastContex…
Small utility class to set TurnFailureIntoWarning and restore
it when deleted.

Fix #11831
…pe of datasources that require ODsCRandomLayerRead

On-the-fly reading of OSM requires to be able to iterate over features
at the dataset level, and not just at the layer level. Let's implement
that.
…ture

gdal vector: make 'read', 'clip' and 'reproject' compatible of OSM-type of datasources that require ODsCRandomLayerRead
@pull pull bot added the ⤵️ pull label Feb 18, 2025
@pull pull bot merged commit 3e34cfe into kp-forks:master Feb 18, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build 13398322152

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 448 of 516 (86.82%) changed or added relevant lines in 26 files are covered.
  • 70 unchanged lines in 34 files lost coverage.
  • Overall coverage increased (+0.02%) to 70.053%

Changes Missing Coverage Covered Lines Changed/Added Lines %
apps/gdalalg_vector_read.cpp 33 34 97.06%
frmts/safe/safedataset.cpp 3 4 75.0%
frmts/vrt/vrtexpression_muparser.cpp 34 35 97.14%
gcore/gdal_misc.cpp 1 2 50.0%
ogr/ogrsf_frmts/ngw/ogrngwlayer.cpp 0 1 0.0%
apps/gdalalg_vector_reproject.cpp 4 6 66.67%
ogr/ogrsf_frmts/adbc/ogradbcdataset.cpp 0 2 0.0%
apps/gdalalg_vector_clip.cpp 39 42 92.86%
apps/gdalalg_vector_select.cpp 2 5 40.0%
ogr/ogrsf_frmts/ngw/gdalngwdataset.cpp 0 5 0.0%
Files with Coverage Reduction New Missed Lines %
alg/gdalwarpkernel.cpp 1 80.71%
frmts/gtiff/gtiffdataset_read.cpp 1 91.1%
frmts/gtiff/libgeotiff/geo_tiffp.c 1 97.83%
frmts/gtiff/libtiff/tif_dirinfo.c 1 41.27%
frmts/gtiff/libtiff/tif_read.c 1 66.62%
frmts/gtiff/libtiff/tif_write.c 1 56.71%
frmts/nitf/nitfdrivercore.cpp 1 95.1%
frmts/vrt/vrtsourcedrasterband.cpp 1 86.93%
frmts/wms/gdalwmscache.cpp 1 91.14%
gcore/gdaldataset.cpp 1 83.02%
Totals Coverage Status
Change from base Build 13389286031: 0.02%
Covered Lines: 563694
Relevant Lines: 804666

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants