Opened 14 years ago
Closed 10 years ago
#206 closed defect (worksforme)
ogr2ogr throws an error while exporting geojson data to postgis database
Reported by: | dr | Owned by: | |
---|---|---|---|
Priority: | critical | Component: | Package |
Version: | Keywords: | ogr2ogr, gdal | |
Cc: |
Description
Try to upload data from *.geojson file to PostGIS database with ogr2ogr utility. All works fine. But if set -lco GEOMETRY_NAME='the_geom' option - get an error: "ERROR 1: AddGeometryColumn failed for layer ogrgeojson, layer creation has failed". GDAL version - 1.7.3.
Change History (3)
comment:1 by , 14 years ago
Keywords: | ogr2ogr gdal added; og2 removed |
---|
comment:2 by , 13 years ago
comment:3 by , 10 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Did you check that the user used to connect to the PostGIS DB has write rights on the geometry_columns (and spatial_ref_sys) tables ?