Skip to main content

New answers tagged

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

ogr2ogr select no longer works

Identifiers should not be single-quoted but either left alone or be double-quoted (doc) SELECT '123' AS ID FROM layername
JGH's user avatar
  • 42.5k
4 votes
Accepted

Calling get_GeodesicArea from ogr2ogr

The new feature was added with this commit https://github.com/OSGeo/gdal/pull/9552. By the comment three options for using the use_ellipsoid option were implemented: Add OGR_G_GeodesicArea() / ...
user30184's user avatar
  • 67.9k

Top 50 recent answers are included