[Gvsig_english] gvsig and postgis / polygon creation

Johannes Sommer johann.online at gmx.de
Thu Dec 27 12:53:29 CET 2007


Hi all,

I have a problem editing a postgis table. Everytime I try to save the 
edits gvsig throws an psql exception:

'com.iver.cit.gvsig.fmap.edition.Edition.Exception: 
org.postgresql.util.PSQLException: ERROR: new row for relation 
"flaechen" violates check constraint "enforce_geotype_f_geometry"'

The geotype in the postgis table is 'POLYGON'. In gvsig I created a 
simple Polygon.
Other Dataviewers/-editors are able to modifiy the postgis table.

I have another question: Is there a possibility to create a polygon in 
gvsig without defining the central point? Because in my opinion this 
kind of polygon creation is uncomfortable - especially for unexperienced 
users. I'm thinking about creating a polygon like a polyline in gvsig.

Thanks for your comments.

greetings,
Johannes



More information about the Gvsig_internacional mailing list