<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:10pt;color:#40007f;"><hr class="messageHeaderDivider colorK2" noshade="noshade"><div id="cg_msg_content"><style type="text/css">div { margin: 0px; }</style><div style="font-family: times new roman,new york,times,serif; font-size: 10pt; color: rgb(64, 0, 127);">Hi,<br><br>Ubuntu 10.04<br>geoserver-2.0.2<br>postgresql 8.4<br>postgis<br><br>I am experiencing the following:<br><br><br>I can edit a postgis database geometry in Quantum GIS but I canīt "insert" into a postgis table inserted with shp3pgsql. ( I used the opengeo-suite windows version to upload the shp)<br><br>my error is here message is here ..<br><br><span><a target="_blank" href="http://permalink.gmane.org/gmane.comp.gis.geoserver.user/26390">http://permalink.gmane.org/gmane.comp.gis.geoserver.user/26390</a></span><br><br>After days of
 scratching around the forums and reading this...<br><br><span><a rel="nofollow" target="_blank" href="http://lists.osgeo.org/pipermail/openlayers-users/2010-March/016801.html">http://lists.osgeo.org/pipermail/openlayers-users/2010-March/016801.html</a></span><br><br>..I
 decided to do the same a make a simple table in postgis  - 1 x "id" 
column  (type - integer, primary key, NotNull) and 1 x "the_geom" column
 ( type - geometry)<br><br>I loaded it into geoserver and was able to start editing immediately!!!!<br><br>Is it then something to do with the constraints inserted by shp2pgsql?..( I removed all of them one by one and tested the insert, but it still didnīt work)<br><br>Possibly do to with the GID column? I ccanīt remove this column without breaking the geometry structure.<br><br>Idonīt understand what the problem is with the table imported from a shapefile using shp2pgsql<br><br>yours,<br><br>Robert</div></div><div><br></div>
</div><br></body></html>