Well mbdavis says "The trick would be knowing when data sources carry implicit type constraints. Shapefiles are fairly obvious, I guess. PostGIS layers are probably more difficult to tell this (is there even a standard way of doing this?)"
I think is always simple to know the kind of geometries that a data source contains (In PostGIS the geometry_columns table that is already used by com.vividsolutions.jump.datastore.PostgisDSMetadata class ...) and then disable the commands that permits to modify in wrong way tha layer loaded (obviously, for a loaded layer that contains feature of different kind, any button is disabled). I confirm that for an unexpert user, this is a big facility. Thanks Giuseppe _______________________________________________ jump-users mailing list [email protected] http://lists.refractions.net/mailman/listinfo/jump-users
