Questions tagged [constraint]

Restriction applied to attribute fields, excluding the field to accept certain values as input

Filter by
Sorted by
Tagged with
3 votes
1 answer

Adding length constraints to line features in QGIS

I want to add length constraints to my line feature column 'type' depending on the field value, to make it impossible to create a new line longer than x m. Below is a screenshot of the categorised '...
joeliketoe's user avatar
2 votes
1 answer

How to make constrained Thiessen polygons in ArcGIS Pro/QGIS 3.26 [closed]

I want to make constrained Thiessen polygons in which the process of calculating polygons will stop when the each polygon touches the boundary line/coastline. How can I do it in ArcGIS Pro or in QGIS ...
divjakomorca's user avatar
1 vote
1 answer

Attribute form constraint, using NULL

At 3.24.2, I have a Geopackage table containing two fields: "interior_observed" is a Boolean, with a Checkbox widget type, true or false. "egg_number" is an integer, with a Range ...
Stu Smith's user avatar
  • 8,192
5 votes
2 answers

Check constraint on geometry column is not working as expected

I am going through the QGIS Training Manual (16.5.2) and could not figure out why the streets table throws a violation check error as trying to update a geometry column. I checked a very similar ...
Erick's user avatar
  • 253
6 votes
2 answers

QGIS constraint not null depending on another field value

Does anyone know it is possible in QGIS to add a constraint to a field not to be null, only when another field has a certain value. For example I have a field A that can be with value 'foo' or 'bar' ...
Jérémie's user avatar
  • 103
6 votes
1 answer

Restricting the creation of lines for network creation in QGIS: start/end vertices must snap to existing vertices

My interest lies in network creation, however, knowing how to do that in general would be a plus. How is it possible to prevent a user from creating a line (line vector) without connecting it ...
Victor's user avatar
  • 1,852