New answers tagged ogr
0
votes
Feature creation error (OGR error: Coordinates with non-finite values are not allowed)
I also ran into this issue when merging vector layers and then trying to export as a geopackage. The above answers didn't solve my issue, but removing the 'FID' column, as there was autogenerating fid ...
0
votes
Accepted
GDAL add custom fields to GPX files using the command line (batch)
I've implemented a quick workaround in bash, because I wasn't able to figure out a way to directly achieve that using GDAL. It's based on a tool called xmlstarlet which allow to manipulate an XML file ...
0
votes
Feature creation error (OGR error: Coordinates with non-finite values are not allowed)
I've just got the same error. While looking for a "nan" vertex coordinate, I noticed that one of the vertices had a very low Z value. Hence, I just applied "Drop M/Z values" ...
0
votes
How to export PostGIS points as blocks in DXF with ogr2ogr
You should firstly provide a reference DXF file(e.g. my.dxf) in the folder from where you want to execute the ogr2ogr command. It should contain the DXF block you want to use in your exported DXF. For ...
0
votes
Where do I find the ogr2ogr command for Mac OS X Lion?
brew install gdal
You will either have to symlink the ogr2ogr binary to your PATH our just use it directly. in my case. I found it under /opt/homebrew/opt/gdal/bin/ogr2ogr using:
brew --prefix gdal
Top 50 recent answers are included
Related Tags
ogr × 1093gdal × 501
python × 441
shapefile × 163
qgis × 122
ogr2ogr × 112
coordinate-system × 82
postgis × 64
osgeo × 42
sql × 40
geometry × 38
pyqgis × 35
polygon × 34
file-geodatabase × 32
geojson × 31
shapely × 30
postgresql × 26
openstreetmap × 25
raster × 24
geopackage × 24
vector × 23
c++ × 23
sqlite × 23
fiona × 22
fields-attributes × 20