4
votes
Accepted
Converting pipe-separated file containing GeoJSON geometries to GeoJSON with ogr2ogr
As geom is not the default name, you need to add -oo GEOM_POSSIBLE_NAMES=geom to tell ogr2ogr that the geometry is in the geom column: CSV driver: open options.
Something like this:
ogr2ogr -f "...
2
votes
Accepted
Exporting 16 bit depth map image from QGIS
You can both set the output data type and add additional command line parameters:
See also gdal_translate problem translating 16bit PNGs, https://docs.qgis.org/3.22/en/docs/user_manual/...
2
votes
Accepted
Extracting Sentinel-1 phase from SLC
GDAL doesn't understand the georeferencing information for the HDF5 dataset you link to. According to the docs for the GDAL HDF5 driver:
Georeference
There is no universal way of storing ...
1
vote
Project/Georeference png using gdal-transform
Use the same coordinates that appear in the GetMap bbox parameters for georeferencing the image.
bbox=
392680.9553887303
5816991.938520388
393134.43388141005
5817424.944091731
I is not clear to me ...
1
vote
QGIS 3.38.2 Grenoble gdal2tiles output tiles in JPEG format instead of PNG
The support for JPEG output in gdal2tiles was introduced in GDAL 3.9.0 (released only about 3 months ago) https://github.com/OSGeo/gdal/blob/v3.9.0/NEWS.md.
The corresponding QGIS processing algorithm ...
1
vote
Accepted
GDAL ogr2ogr SQLite Booleans changing to false
A problem with booleans was fixed a while ago in GDAL...
Please try with the latest GDAL version (3.9.2) please.
1
vote
Accepted
Export GTiff to PNG
Read https://gdal.org/en/latest/programs/gdal_translate.html#cmdoption-gdal_translate-scale. Just using -scale without other parameters should fit the values between min/max of the source on the range ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
gdal × 6285python × 1880
qgis × 927
raster × 903
geotiff-tiff × 603
gdalwarp × 532
ogr × 512
coordinate-system × 490
gdal-translate × 397
ogr2ogr × 374
shapefile × 257
postgis × 209
rasterio × 199
r × 163
pyqgis × 152
numpy × 139
osgeo × 128
c++ × 126
gdal2tiles × 123
georeferencing × 115
vrt × 115
dem × 113
netcdf × 111
clip × 102
c# × 95