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 #51

Merged
merged 186 commits into from
Oct 31, 2023
Merged

[pull] master from OSGeo:master #51

merged 186 commits into from
Oct 31, 2023

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 15, 2023

See Commits and Changes for more details.


Created by pull[bot]

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

…rray as a VRTRasterBand source

and through the use of a <DerivedArray> make it possible to create a 2D
array from a 3D or more multidimensional one, by slicing, transposing,
resampling, gridding, etc.
…to run importFromWkb() on the same object and limiting the number of dynamic memory (re)allocations

- For lines, we keep track of the maximum capacity of the point array,
  with a new member variable.
  So doing setNumPoints(10), then setNumPoints(3), then setNumPoints(9)
  just allocates an array of size 10.
- For polygons, if importing a WKB for a single ring polygon on top of
  an existing single ring polygon, reuse the existing ring (and benefit
  from the previous optimization)
- For multipolygons, if importing a WKB for a single part multipolygon
  on top of an existing single part multipolygon, reuse the existing
  polygon (and benefit from the previous optimization)
- Similar for multilinestring
…FastGetArrowStream, even if the output driver doesn't declare OLCFastWriteArrowBatch

This helps in a notable way for Parquet -> GPKG or GPKG -> GPKG when
disabling the creation of the spatial index which is now the major time
consumer.

Now (using Arrow API):

```
$ time  ogr2ogr  out.gpkg nz-building-outlines.gpkg -lco spatial_index=no -progress
0...10...20...30...40...50...60...70...80...90...100 - done.

real    0m12,868s
user    0m13,338s
sys     0m1,843s
```

Without use of Arrow API:

```
$ time  ogr2ogr  out.gpkg nz-building-outlines.gpkg -lco spatial_index=no -progress --config OGR2OGR_USE_ARROW_API NO
0...10...20...30...40...50...60...70...80...90...100 - done.

real    0m17,625s
user    0m15,917s
sys     0m1,704s
```
Fix a deadlock encountered with
gdalwarp test1.tif test2.tif -co  COMPRESS=LZW   -co TILED=YES  -co BLOCKXSIZE=256  -co  BLOCKYSIZE=256   -co   BIGTIFF=YES  -multi  -co  NUM_THREADS=ALL_CPUS out.tif -overwrite
on the test datasets provided in #8470 (comment)
…TA for Byte/UInt16/Int16 data types

Add a specialization when a VRTComplexSource has only a <NODATA> value
and no other processing (scaling, color table expansion, LUT), and that
the source data type is Byte, UInt16, Int16

On a 3-band 20791x22938 Byte VRT, "gdal_translate in.vrt out.tif" goes
from 9.8s to 4s
GTiff: DirectIO(): fix integer overflow when requesting more than 2 GB at once
GTiff multithreaded reading/writing: fix a deadlock situation
@pull pull bot added the ⤵️ pull label Oct 15, 2023
…of list/string/binary arrays do not saturate their capacity (2 billion elements)
…code path"

This partially reverts commit fb92aa5.

No longer needed since previous commit
GetNextArrowArray() implementations: automatically adjust batch size …
… all drivers, including virtual group returned by GDALGroup::SubsetDimensionFromSelection()
…le with GENERIC_WRITE only if access=w or wb
Arrow read/write: add GDAL specific field metadata
ogr2ogr Arrow code path: do not expand coded field domains if supported by output driver
GDALMDArray::GetResampled(): make GLT orthorectification available to…
cpl_vsil_win32: check return value of FlushFileBuffers(), and open file with GENERIC_WRITE only if access=w or wb
… issue with anadonda-client"

This reverts commit 7665912.
@pull pull bot merged commit 11c032d into innFactory:master Oct 31, 2023
1 check passed
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.

6 participants