Download presentation
Presentation is loading. Please wait.
Published byMuriel Pope Modified over 9 years ago
1
Geographic Information Systems Using ESRI ArcGIS 9.3 Complex selection by attributes
2
SQL The “language” used to select objects by attribute is called SQL (Standard Query Language). A wide literature on its use is freely available.
3
SELECTION by attribute Logical Operators It is possible to connect conditions with AND / OR logic operators, making a complex query
4
SELECTION by attribute Logical Operators AND Connects two conditions: the object is selected if both the conditions are true e.g. “TYPE” = 15 AND “NAME” >= “G” same results of the method “select from current selection”
5
SELECTION by attribute Logical Operators OR Connects two conditions: the object is selected if at least one of the conditions is true e.g. “TYPE” = 15 OR “NAME” >= “G” same results as the method “Add to current selection”
6
SELECTION by attribute Parentheses The use of parentheses allows to create complex queries e.g. (“TYPE” =13 OR “TYPE”=14) AND “NAME”>’G’ is different from “TYPE” =13 OR (“TYPE”=14 AND “NAME”>’G’)
7
SELECTION by attribute Verify It is possible to verify the sintax of complex queries before running them. Useful only for very complex queries, since when they run it may take a long time before an error is detected
8
SELECTION by attribute Save / Load It is possible to save queries and to load them. This is useful for queries that are to be repeatedly used more than once on different datasets
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.