[Gvsig_english] gvsig and postgis / polygon creation

Francisco José Peñarrubia fpenarru at gmail.com
Thu Dec 27 13:05:28 CET 2007


Hi.

1.- Please, use MULTIPOLYGON or GEOMETRY as geotype.
2.- Use polyline and right click when you want to close your polygon.

Hope this helps.

Have fun.

PS: (Yes, these point are a bit confusing. Maybe we should add a new 
icon in [2]).

Fran Peñarrubia.
gvSIG Team.

Johannes Sommer escribió:
> 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
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at runas.cap.gva.es
> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional



More information about the Gvsig_internacional mailing list