+ All Categories
Home > Documents > School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.

School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.

Date post: 18-Jan-2016
Category:
Upload: cecilia-page
View: 213 times
Download: 0 times
Share this document with a friend
13
School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS
Transcript
Page 1: School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.

School of GeographyFACULTY OF ENVIRONMENT

Querying with ArcGIS

Page 2: School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.

What is Querying?

• A request to select features or records from a database

• Often written as a statement or logical expression

• Types of queries:

• Interactive

• click on features using the Identify tool

• Find tool

• Distance tool

• Select by Attribute (SQL query)

• Select by Location (spatial query)

• Select by Graphic

Page 3: School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.

Selection Tools

• Select and clear individual features from the Tools toolbar

• Various selection options from the Selection menu

Page 4: School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.

Dynamic Linkage

Page 5: School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.

Selection Options in ArcMap

• Specify interactive selection method + Selection Option (Selection Options)

Page 6: School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.

Select by Attribute

• Uses an SQL where clause to select features

• Save and reload selection expressions

Selected features in blue

Right click in the

Field box

Page 7: School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.

Other Features

• Search on a text name – enclose in single brackets

• Use wildcard characters - % or * for any length; _ for one character in combination with LIKE

• Use Boolean operators to look in more than one column, i.e. AND, OR, NOT, etc.

• Is NULL – to search for null values

• Get Unique Values + Go To:

• Substring (“STATE_NAME”,1,2) = ‘Te’

Page 8: School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.

Select by Location

• Is a spatial query

• Use features in one layer to select features in another

• Examples are to select features in A that are:

• Completely contain B

• Intersect with B

• Are within a specified distance of B

• Are completely within B

• Etc.

Page 9: School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.

Example of a Query by Location

Page 10: School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.

Results of the Query

Addresses within 50m of motorway Further refined to choose only

dwellings

Page 11: School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.

Select by Graphics

• Draw a graphic to select features

• Works with interactive selection methods

Page 12: School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.

Save Selection

Or export

as a shapefile

Data Export Data

Page 13: School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.

Querying in ArcMap

Hands-on Exercise #8


Recommended