I want to search for different buildings by using the labels I've added to them.
Like for instance, I want to search for the building with the label "1630"
, as in the picture. Is there any specific function or a plug-in for searching?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
Sign up to join this communityI want to search for different buildings by using the labels I've added to them.
Like for instance, I want to search for the building with the label "1630"
, as in the picture. Is there any specific function or a plug-in for searching?
You could simply use the 'Select by Expression'
tool to find the buildings with the matching labels.
"YourFieldNameWithLabels" ILIKE '1630'
"YourFieldNameWithLabels" = 1630
You'll get the labels selected and You can then use the 'Map Map to Selection'
button.
@geom's answer is great but if you are using QGIS 3 and above you can use the simpler 'Select by Value'
instead of 'Select by Expression'
.
Simply put the value in the field that has the data you are interested in here I am using the "FID"
field.