Advertisement
Guest User

Untitled

a guest
Jun 16th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. ogr2ogr -f "PostgreSQL" PG:"host=localhost user=my_user password=my_pass dbname=my_db_name" -nlt GEOMETRY my_shape_file.shp
  2.  
  3. ERROR 1: AddGeometryColumn failed for layer wld_bnd_adm2_gaul_2015, layer creation has failed.
  4. ERROR 1: Terminating translation prematurely after failed
  5. translation of layer wld_bnd_adm2_gaul_2015 (use -skipfailures to skip errors)
  6.  
  7. GRANT ALL ON TABLE spatial_ref_sys TO my_user_name;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement