[postgis-users] upload spatial data
    Frank Warmerdam 
    warmerdam at pobox.com
       
    Wed Oct 26 14:19:43 PDT 2005
    
    
  
On 26 Oct 2005 21:14:45 -0000, krishnaa sridharan <kichi at rediffmail.com> wrote:
>
>
>
>  hi all i tried to upload spatial data from shp files to Postgis. When i used ogr2ogr it gave me a error saying cannont create dbname and asked me to use create db first. I have the database aldready and the service is running too.
>  I was also not able to run the shp2psql.bat file. I got a error saying its not a internal or external command. Can some one help me with this
Kris,
To load data into an existing postgres database with
ogr2ogr you should use the -update flag.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent
    
    
More information about the postgis-users
mailing list