New answers tagged ogr2ogr
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 "...
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
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
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() / ...
Top 50 recent answers are included
Related Tags
ogr2ogr × 1192gdal × 374
shapefile × 203
postgis × 200
geojson × 139
qgis × 114
ogr × 114
postgresql × 110
python × 82
coordinate-system × 65
openstreetmap × 60
sql × 60
kml × 53
sqlite × 49
file-geodatabase × 48
convert × 47
geopackage × 45
sql-server × 38
spatialite × 37
csv × 34
gml × 32
dxf × 31
wfs × 24
osgeo4w × 21
sql-server-spatial × 19