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

Merged
merged 120 commits into from
Mar 16, 2024
Merged

[pull] master from OSGeo:master #68

merged 120 commits into from
Mar 16, 2024

Conversation

pull[bot]
Copy link

@pull pull bot commented Mar 10, 2024

See Commits and Changes for more details.


Created by pull[bot]

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

rouault and others added 30 commits February 26, 2024 15:48
…ntially use 'find_package(OpenJPEG CONFIG)' with newer versions
…type if not specified and color table compatible of it (fixes #9402)
…ess -ignore_extra_input), and add -E echo mode, and -field_sep option (fixes #9411)
…unless -ignore_extra_input), and add -E echo mode, and -field_sep option (fixes #9411)
This specialized implementation of IRasterIO() will be faster than
using the VRTWarpedRasterBand::IReadBlock() method in situations where
- a large enough chunk of data is requested at once
- and multi-threaded warping is enabled (it only kicks in if the warped
  chunk is large enough) and/or when reading the source dataset is
  multi-threaded (e.g JP2KAK or JP2OpenJPEG driver).

e.g. with a 3909x3154 4-band UInt16 input JPEG2000 source dataset:

```
$ gdalwarp -overwrite -t_srs EPSG:4326 -r cubic -wo NUM_THREADS=12 input.jp2 test.vrt
Creating output file that is 3909P x 3154L.
```

Now:
```
$ time GDAL_SKIP=JP2KAK,JP2ECW gdal_translate test.vrt out.tif -co tiled=yes
Input file size is 3909, 3154
0...10...20...30...40...50...60...70...80...90...100 - done.

real    0m1,624s
user    0m11,910s
sys     0m0,270s
```

Before (or disabling the optimization):
```
$ time GDAL_VRT_WARP_USE_DATASET_RASTERIO=NO GDAL_SKIP=JP2KAK,JP2ECW gdal_translate test.vrt out.tif -co tiled=yes
Input file size is 3909, 3154
0...10...20...30...40...50...60...70...80...90...100 - done.

real    0m4,115s
user    0m9,934s
sys     0m0,218s
```
1. Even after my change, the man page will still look bad, because the user doesn't see any image... but may see some ALT words.
2. Before my change, only we man page readers noticed the defective sentence that I changed. In the HTML is was gone due to wrong indenting.
Update gdal_viewshed.rst to make sense, on the man page too
rouault and others added 29 commits March 14, 2024 17:59
…ISION=YES configuration option to call OGRGeometry::SetPrecision()
only on non-curve geometries, and if OGR_APPLY_GEOM_SET_PRECISION is not set to NO
…tion is set to YES. Also add a UNDO_DISCARD_COORD_LSB_ON_READING layer creation option
Added an extra section in the documentation to give information about speeding up appending to a PostGIS table by turning COPY mode on.

I didn't know exactly where to put this in the docs page, so created a new section under 'Creation issues'. Feel free to move as desired.
docs: Add extra docs about speeding up append to PostGIS tables
RFC 99, Geometry coordinate precision: implementation
* Add RFC99 text: Geometry coordinate precision

* RFC99: updates from implementation

* RFC99 text: add OGRGeometry::SetPrecision()

* RFC99 text: OGR_APPLY_GEOM_SET_PRECISION and GPKG adjustments

* RFC99 text: replace metre by meter

* RFC99 text: update status to adopted
Fix a few unsigned integer overflows found by ASAN
SWIG: fix memory leak in SpatialReference.ExportToCF1
Selafin: avoid emitting additional error message on file that can't be opened (fixes #9410)
gdalwarp: fix performance issue when warping to COG (fixes #9416)
VRTWarpedDataset: add an optimized IRasterIO() implementation
Updates the stated default value of -gt to 100000.
Removes the recommendation "Increasing to -gt 65536 or more ensures optimal performance while populating some table containing many hundredth thousand or million rows." since the ogr2ogr default is 100000 according to:
https://gdal.org/programs/ogr2ogr.html#cmdoption-ogr2ogr-gt.
doc: update the ogr2ogr default value for -gt in SQLite performance hints
GeoJSON reader: accept a {"type": "Polygon","coordinates": []} as a representation of POLYGON EMPTY (fixes duckdb/duckdb_spatial#273)
Internal shapelib: SBNOpenDiskTree(): make it work with node descriptors with non-increasing nBinStart
gdaltransform/gdallocationinfo: make it output extra content at end of input line, add echo mode and field separator
Doc: Add Python API docs for gdal.Driver
@pull pull bot merged commit dfde241 into innFactory:master Mar 16, 2024
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.

8 participants