[osgeo4w-dev] [osgeo4w] #206: ogr2ogr throws an error while exporting geojson data to postgis database

OSGeo4W trac_osgeo4w at osgeo.org
Fri Jan 14 15:01:24 EST 2011


#206: ogr2ogr throws an error while exporting geojson data to postgis database
---------------------+------------------------------------------------------
Reporter:  dr        |       Owner:  osgeo4w-dev@…              
    Type:  defect    |      Status:  new                        
Priority:  critical  |   Component:  Package                    
 Version:            |    Keywords:  og2                        
---------------------+------------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/206>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.


More information about the osgeo4w-dev mailing list