<div id="RTEContent"> <div style="margin-bottom: 0in;"><font style="font-family: arial;" size="5"><font style="font-size: 8pt;">Hello,</font></font></div> <pre style="font-family: arial;"><font size="5"><font style="font-size: 8pt;">I have got problem in adding new data in a table that already exist in PostGIS. <br>I used the following command</font> <font style="font-size: 8pt;"><br>/usr/local/pgsql/bin/shp2pgsql forest forest | /usr/local/pgsql/bin/psql -a forestrydb</font> <font style="font-size: 8pt;"><br><br>I received the following message</font> <font style="font-size: 8pt;"><br>ERROR: relation "forest" already exists </font><font style="font-size: 8pt;">...............</font> <br><font style="font-size: 8pt;">ERROR: current transaction is aborted, commands ignored until end of transaction block</font> </font></pre> <div style="margin-bottom: 0in; font-family: arial;"> <font size="5"><font style="font-size: 8pt;">When running without any options. The task is aborted.
The following is the massage displayed after running the shp2pgsql command:</font></font></div> <div style="margin-bottom: 0in; font-family: arial;"><font size="5"><font style="font-size: 8pt;">Shapefile type: Polygon<br> Postgis type: MULTIPOLYGON[2]<br> BEGIN<br> NOTICE: CREATE TABLE will create implicit sequence "forest_gid_seq1" for serial column "forest.gid"<br> ERROR: relation "forest" already exists<br> ERROR: current transaction is aborted, commands ignored until end of transaction block<br> ERROR: current transaction is aborted, commands ignored until end of transaction block<br> ROLLBACK</font></font></div> <pre style="font-family: arial;"><font size="5"><font style="font-size: 8pt;">Would you please provide me some information how I can append in my existing PostGIS <br>database new data that is available in shape format?</font><br><font style="font-size: 8pt;">Thanks in advance</font> <font style="font-size: 8pt;"><br><br>Kef</font></font></pre> </div><p>
<hr size=1>Yahoo! Photos<br>
Ring in the New Year with <a href="http://us.rd.yahoo.com/mail_us/taglines/photos/*http://pa.yahoo.com/*http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38087/*http://pg.photos.yahoo.com/ph//page?.file=calendar_splash.html&.dir=">Photo Calendars</a>. Add photos, events, holidays, whatever.