Advertisement
Guest User

Untitled

a guest
Mar 14th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. INFO: Open of `postup_doby.shp'
  2. using driver `ESRI Shapefile' successful.
  3. 1: postup_doby (Line String)
  4.  
  5. PGCLIENTENCODING=WIN1250 ogr2ogr -skipfailures --config PG_USE_COPY YES -f PostgreSQL PG:"host=localhost port=5432 dbname=myname password=secure active_schema=povis user=sa" -lco DIM=2 postup_doby.shp postup_doby -append -nlt GEOMETRYCOLLECTION -lco GEOMETRY_NAME=the_geom -lco FID=envi_id -nln postupove_doby PRECISION=NO
  6.  
  7. Insertion is likely to fail
  8. ERROR 1: COPY statement failed.
  9. ERROR: Geometry type (MultiLineString) does not match column type (LineString)
  10. CONTEXT: COPY postupove_doby, line 1, column the_geom: "0105000020B38E01000200000001020000006C000000E4E2809372B61CC13F49396A56C030C1C24C8D97FAB41CC175C2C6B5..."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement