Even Rouault
f314d4b6bc
ogrlineref: fix double-free on 'ogrlineref --version'
2024-12-23 02:53:30 +01:00
Even Rouault
5c13e6dd1d
gdal raster edit/reproject: use --bbox instead of --extent
...
Fixes #11526
2024-12-20 23:51:11 +01:00
Even Rouault
bea5bc699e
Merge pull request #11487 from rouault/gdal_raster_edit
...
Add a 'gdal raster edit' command to override SRS, extent and metadata
2024-12-19 19:02:32 +01:00
Daniel Baston
c004191478
gdalbuildvrt: Emit warning on invalid value for -vrtnodata
2024-12-15 18:24:20 -05:00
Even Rouault
e4bb0c3de7
Add a 'gdal raster edit' command to override SRS, extent and metadata
2024-12-13 00:36:55 +01:00
Even Rouault
49367db76d
Update help URL for gdal raster pipeline algorithms
2024-12-12 20:27:23 +01:00
Even Rouault
08fb6beae6
gdal programs: fill help URLs
...
Fixes #11481
2024-12-12 14:52:30 +01:00
Even Rouault
062fee8a38
Merge pull request #11442 from rouault/gdal_raster_pipeline
...
Implement initial 'gdal raster pipeline' and 'gdal raster reproject'
2024-12-12 13:02:46 +01:00
Even Rouault
c1df1acf98
Merge pull request #11303 from rouault/rfc104
...
Candidate implementation for RFC 104: Adding a "gdal" front-end command line interface
2024-12-12 13:02:36 +01:00
Even Rouault
1fed90a982
RFC104 implementation: take into account @abellgithub review
2024-12-11 19:42:31 +01:00
Even Rouault
8fcd4f78a2
Merge pull request #11459 from rouault/adbc_spatial
...
ADBC: add spatial support for DuckDB databases and GeoParquet
2024-12-10 15:04:44 +01:00
Even Rouault
e7332ae72c
ADBC: add spatial support for DuckDB databases and GeoParquet
...
- Automate loading duckdb_spatial extension when installed, and when
the dataset is DuckDB or Parquet
- Retrieve geometries (GEOMETRY type) as OGR geometries
- Read GeoParquet metadata to figure out spatial extent, CRS and
geometry type per geometry column
- Use duckdb_spatial ST_Intersects() for faster spatial filtering
(when done with OGRLayer::SetSpatialFilter()), potentially
leveraging DuckDB RTree when it is available.
- Use GeoParquet bounding box column in complement to above
- Passthrough forward of WHERE claused expresse through
OGRLayer::SetAttributeFilter()
2024-12-09 21:51:54 +01:00
Jukka Rahkonen
d8ca787e91
ogrinfo: command line help text fixes ( #11462 )
...
Co-authored-by: Alessandro Pasotti <elpaso@itopen.it>
2024-12-09 11:58:23 +01:00
Even Rouault
07ea15fe9e
Fix MSVC warning about assignment in condition
2024-12-08 21:57:41 +01:00
Even Rouault
d09c87057d
Merge pull request #11411 from rouault/ogr2ogr_relationships
...
ogr2ogr: transfer relationships (when possible) from source dataset to target dataset
2024-12-06 11:49:43 +01:00
Even Rouault
72c8101d58
Implement initial 'gdal raster pipeline' and 'gdal raster reproject'
2024-12-06 01:53:42 +01:00
Even Rouault
f0bd7cbd5c
ogr2ogr: fix crash with -ct and using Arrow code path (e.g source is GeoPackage) (3.10.0 regression)
...
Fixes #11438
Passing "--config OGR2OGR_USE_ARROW_API=NO" or "-t_srs {srs_def}" can be used as a workaround
2024-12-05 01:19:28 +01:00
Even Rouault
410a688826
ogr2ogr: transfer relationships (when possible) from source dataset to target dataset
...
Fixes #11397
2024-12-02 17:37:30 +01:00
Even Rouault
b24644d8cd
GTiff/gdalwarp/COG: preserve pre-multiplied alpha information from source TIFF
...
Fixes #11377
2024-11-28 17:46:27 +01:00
Even Rouault
efe516a319
Merge pull request #11344 from rouault/remove_dollar_id_dollar
...
Remove lines with '$Id$' in source files
2024-11-26 19:27:01 +01:00
Even Rouault
7bbd8720d8
Merge pull request #11342 from rouault/oci_timestamp_with_tz
...
OCI: add a TIMESTAMP_WITH_TIME_ZONE layer creation option, and ogr2ogr tweaks
2024-11-26 19:26:39 +01:00
Even Rouault
580958dfda
RFC104: add capability of 'filter' and 'reproject' vector pipeline steps to be standalone too
2024-11-25 22:54:52 +01:00
Even Rouault
0de6b1e157
RFC104: add reference counting to GDALArgDatasetValue::m_poDS
2024-11-25 22:54:52 +01:00
Even Rouault
ef8d0f6baa
Implement RFC 104: Adding a "gdal" front-end command line interface
2024-11-25 22:54:52 +01:00
Even Rouault
7ab4e4fa46
Move GDALRemoveSQLComments() to CPLRemoveSQLComments()
2024-11-25 22:54:52 +01:00
Even Rouault
182b892cae
EarlySetConfigOptions() / GDALGeneralCmdLineProcessor(): make sure setting CPL_DEBUG is done first
2024-11-25 18:44:21 +01:00
Even Rouault
c6c1a9b04e
Remove lines with '$Id$' in source files
...
This dates back to Subversion times where they were substituted with the
Subversion revision number.
2024-11-24 19:33:53 +01:00
Even Rouault
7fec8c7aa4
OCI: add a TIMESTAMP_WITH_TIME_ZONE layer creation option, and ogr2ogr tweaks
...
Fixes https://github.com/OSGeo/gdal/issues/11057#issuecomment-2495479779
2024-11-23 17:13:17 +01:00
Even Rouault
324d024c52
ogr2ogr: GPKG/FlatGeoBuf -> other format: in Arrow code path, use DATETIME_AS_STRING to preserve origin timezone
...
Fixes #11212
2024-11-23 16:14:56 +01:00
Even Rouault
bbf5667a50
Merge pull request #11242 from rouault/csa_2404
...
CI: update to Clang Static Analyzer 18
2024-11-22 18:57:58 +01:00
Even Rouault
b2f16324e8
gdalinfo: fix bound checking for value of -sds argument
2024-11-21 18:38:07 +01:00
Even Rouault
e69c6dfc13
ogr2ogr: fix 'ogr2ogr out.parquet in.gpkg/fgb/parquet -t_srs {srs_def}' optimized code path (3.10.0 regression)
...
Since 3.10.0, reprojecting from GPKG/FlatGeoBuf/Parquet uses the Arrow
optimized code path. But the way we dealt with a temporary array was
incorrect when writing to Parquet/Arrow ...
Workaround: add --config OGR2OGR_USE_ARROW_API=NO
2024-11-17 23:30:16 +01:00
Even Rouault
9b5cc408eb
GDALVectorTranslate(): fix null-ptr dereference when no source driver
2024-11-17 18:31:55 +01:00
Even Rouault
3fa80ffa08
gdalinfo: bring back stdout streaming mode that went away during argparse refactor
2024-11-17 00:27:53 +01:00
Even Rouault
78ea0e65e5
GDALVectorInfo(): do not crash if psOptions == nullptr
2024-11-14 23:17:14 +01:00
Even Rouault
8dd92ad68b
gdaltindex: restore -ot option accidentally removed in GDAL 3.10.0
...
Fixes #11246
This option was new of GDAL 3.9 for GTI tile indices.
Workaround: ``-mo DATA_TYPE=<datatype>``
2024-11-11 20:55:34 +01:00
Even Rouault
2293caee7f
Various tunings to make Clang Static Analyzer 18 happy
2024-11-11 03:31:48 +01:00
Even Rouault
6966463cf1
gdaldem: fix help message for subcommands
...
Now:
```
$ gdaldem TPI --help
Usage: gdaldem TPI [--help] [--long-usage] [--help-general]
[-of <output_format>] [-compute_edges] [-b <value>] [-co <NAME>=<VALUE>]... [--quiet]
input_dem output_TPI_map
Note: gdaldem TPI --long-usage for full help.
```
vs before:
```
$ gdaldem TPI --help
Usage: TPI [--help] [--long-usage] [--help-general]
[-of <output_format>] [-compute_edges] [-b <value>] [-co <NAME>=<VALUE>]... [--quiet]
input_dem output_TPI_map
Note: TPI --long-usage for full help.
```
argparse.hpp stream fix submitted to upstream in https://github.com/p-ranav/argparse/pull/382
2024-11-09 12:18:27 +01:00
Even Rouault
4899ddd13c
Merge pull request #11204 from dbaston/gdalenhance-fix-leaks
...
gdalenhance: fix memory leaks
2024-11-04 20:33:12 +01:00
Daniel Baston
f83e9be402
gdalenhance: Use GDALDataset::FromHandle
2024-11-04 13:22:19 -05:00
Daniel Baston
a503cdc8fb
gdalenhance: Use CPLStringList
2024-11-04 13:19:51 -05:00
Daniel Baston
f3231b7d0b
gdalenhance: fix memory leaks
2024-11-04 11:20:08 -05:00
Even Rouault
60543fc808
ogr2ogr: output warning hinting when -relatedFieldNameMatch can be used
2024-10-29 22:58:23 +01:00
Even Rouault
1c4caf3f27
Merge pull request #11144 from dbaston/add_doc_gdalenhance
...
gdalenhance: add docs and tests
2024-10-29 17:50:52 +01:00
Even Rouault
71535b50d3
Merge pull request #11152 from rouault/fix_11100
...
GDALTermProgress: display estimated remaining time for tasks >= 10 seconds
2024-10-29 17:50:34 +01:00
Even Rouault
103580acce
Merge pull request #11003 from rouault/adbc
...
Add read-only OGR ADBC (Arrow Database Connectivity) driver
2024-10-29 11:50:24 +01:00
Even Rouault
fb36ab7b6a
Merge pull request #11145 from dbaston/apps-add-unique-ptr
...
apps: use unique_ptr overloads of addGeometry, addRing
2024-10-29 01:56:14 +01:00
Even Rouault
5479b457ef
Merge pull request #11111 from dbaston/remove-apps
...
Remove gdalwarpsimple and ogrdissolve
2024-10-29 01:56:02 +01:00
Even Rouault
400e020284
Add read-only OGR ADBC (Arrow Database Connectivity) driver
...
Cf https://arrow.apache.org/adbc/current/index.html for what ADBC is.
Depends on the adbc-driver-manager library.
The driver is read-only, and there is no support for spatial data currently.
Beyond official ADBC drivers (adbc-driver-sqlite,
adbc-driver-postgresql, adbc-driver-snowflake, adbc-driver-bigquery,
etc.), it can also be used to read Parquet or DuckDB datasets using libduckdb, if
libduckdb is installed and can be loaded through dynamic shared library opening.
2024-10-29 01:49:59 +01:00
Daniel Baston
a4ea665481
gdalenhance: return 1 if not given anything to do
2024-10-28 19:35:39 -04:00