Skip to main content
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 "...
Pieter's user avatar
  • 3,804
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/...
Andrea Giudiceandrea's user avatar
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 ...
user2856's user avatar
  • 67.8k
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 ...
user30184's user avatar
  • 68k
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 ...
Andrea Giudiceandrea's user avatar
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.
Pieter's user avatar
  • 3,804
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 ...
user30184's user avatar
  • 68k

Only top scored, non community-wiki answers of a minimum length are eligible