Opened 17 years ago

Closed 15 years ago

#417 closed enhancement (fixed)

Attribute constraints when editing vector layers

Reported by: anonymous Owned by: mhugent
Priority: minor: annoyance Milestone: Version 1.0.3
Component: Digitising Version: Trunk
Keywords: constrain attributes Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no


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)

Change History (7)

comment:1 by wonder, 17 years ago

Milestone: Version 0.8 Release

comment:2 by anonymous, 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.

comment:3 by mhugent, 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.


in reply to:  3 comment:4 by anonymous, 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?


comment:5 by wonder, 17 years ago

Milestone: Version 0.9 Release

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.


comment:6 by jef, 16 years ago

Awaiting user input: unset
Keywords: attributes added; attribute removed
Summary: Attribute constrain when editing vecotr layersAttribute constraints when editing vector layers

r9092 introduces some enhancements that covers this partly, although not by strict constraints.

comment:7 by lutra, 15 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.