Upcoming SlideShare
×

# ArcGIS Queries (3Nov2011)

1,105 views

Published on

Presented by Maneesh Sharma at the WVAGP membership meeting on 3 Nov 2011 in Charleston, WV.

Published in: Technology, Education
0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
Your message goes here
• Be the first to comment

• Be the first to like this

Views
Total views
1,105
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
19
0
Likes
0
Embeds 0
No embeds

No notes for slide

### ArcGIS Queries (3Nov2011)

1. 1. Maneesh Sharma West Virginia GIS Technical CenterDepartment of Geology and Geography West Virginia University Morgantown 26505 Maneesh.Sharma@mail.wvu.edu
2. 2.  Queries in feature classes ◦ Attribute Query  Demonstration ◦ Location Query  Demonstration Query in Data driven Pages ◦ Dynamic query  Demonstration Questions
3. 3.  Attribute Query ◦ “A query that extracts data/features from a layer based on the value of its attribute data” Query can be ◦ Simple query ◦ Compound query  Subquery
4. 4.  A query expression needs 3 components ◦ Attribute Field Operator Field Attribute Value "AssessedAcres" >= 0.19 ◦ The result will show a set of selected features
5. 5.  Different types of operators can be used Calculations can be done ◦ "AssessedAcres" >= 0.12 * 100 Or "Perimeter" >= "Acres" * 10
6. 6.  Multiple attribute and operators can be used to create compound query ◦ Complex expressions can be created by using AND or OR "Perimeter" >= 7361.83 or "Acres" <= 0.35
7. 7.  A subquery is a nested query Supported just by geodatabase data sources only Will NOT work with shapefiles "Entity" NOT IN (SELECT "ENTITY" FROM BLDTYPES2) Demonstration
8. 8.  A location query is based on their location relative to other features that meet certain conditions Main types ◦ Near ◦ Intersect ◦ Inside
9. 9.  Three things needed for query ◦ Layer that contains features you want to select ◦ Location relationship that needs to be analyzed ◦ Layer that contains related features “Building types within 2000 ft of selected parcel” Demonstration
10. 10.  Each layer can take advantage of the Data Driven Page setup Layer has to have the page number from the index layer associated with the features By setting the Page Definition by using page number, you can show or hide each feature on the map
11. 11.  Demonstration