Feature request #417

Attribute constraints when editing vector layers

Added by anonymous - over 17 years ago. Updated almost 15 years ago.

Status:Closed
Priority:Low
Assignee:Marco Hugentobler
Category:Digitising
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:10476

Description

As I'm introducing QGis in my university department, I was asked if it would be possible ("as in ArcGIS with mdb geodatabase", as they say) to enable a constrain, during digitizing and editing, on vector layers attributes (on Postgresql) when on the attribute field there's a constrain to a list of values that I set in another table. Exscuse me for my horrible english, I hope it's understandable!
It would avoid inserting wrong attribute values when needed...

Giovanni A.
Centro di Geotecnologie
University of Siena (Italy)

History

#1 Updated by anonymous - over 17 years ago

I don't know if it's possible to be implemented in 0.8 (I would prefer, of course!). In case it's tto late 0.9 would be, obviously, ok.

#2 Updated by Marco Hugentobler over 17 years ago

Hi Giovanni,

The feature you mention would be very useful. It would however require major changes in basic components of qgis, so it's impossible to consider it for 0.8.

Marco

#3 Updated by anonymous - over 17 years ago

So what should I do? Do I have to post a new "enhancement" for 0.9, or it will considered anyway leaving this ticket?

Giovanni

#4 Updated by Martin Dobias over 17 years ago

Ok, let's set it as enhancement for 0.9 release. Originally I've deleted the milestone as it won't get to 0.8 and it's not clear for what version it will be implemented.

Martin

#5 Updated by Jürgen Fischer almost 16 years ago

43278d72 (SVN r9093) introduces some enhancements that covers this partly, although not by strict constraints.

#6 Updated by Giovanni Manghi almost 15 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

This seems to me a reality now with the edit widgets under layer "properties -> attributes". Please reopen if I'm wrong.

Also available in: Atom PDF