Download presentation
Presentation is loading. Please wait.
Published byMelissa Hoover Modified over 9 years ago
1
Selecting and Displaying Features
2
Why do you need to select features? Why do you need to select features? Selection methods Selection methods Select by Attribute Select by Attribute Select by Location Select by Location Export selected features Export selected features Definition queries Definition queries
3
Why do you need to select features? SelectedFeatures Create a layer file Edit Calculatestatistics Export a dataset Display a subset of features Convert to graphics Examine attributes in a feature table
4
By attribute By attribute By location By location Definition Query Definition Query By graphics By graphics Selection Methods
5
Two methods: Two methods: Using the “Find” toolUsing the “Find” tool Construct a SQL statement to select featuresConstruct a SQL statement to select features Select by Attribute
6
Find Features 1. Specify search string 2. Control searchable layers and options 3. From the returned records, select action
7
Define your own selection criteria based on attribute values Define your own selection criteria based on attribute values Create a SQL statement to select features Create a SQL statement to select features Save and reload selection expressions (separate from.mxd) Save and reload selection expressions (separate from.mxd) Selected features are highlighted in the map and table Selected features are highlighted in the map and table Select by Attributes by SQL
8
Select by Attributes An example: An example:
9
Select by Attributes w/ SQL Complex Queries Define complex queries based on more than one attribute Define complex queries based on more than one attribute Example: Example: Soils type: Ab andSoils type: Ab and Acreage: > 10Acreage: > 10
10
Spatial Query Spatial Query Use features in one layer to select features in another Use features in one layer to select features in another Select by Location
11
Selection methods available: Selection methods available: IntersectIntersect Are within a distance ofAre within a distance of Share a line segmentShare a line segment Are identical toAre identical to ContainContain Are contained byAre contained by Others…Others… Select by Location (cont.)
12
SELECT ATTRIBUTES BY LOCATION A company needs to estimate total length of the roads within a specific areas in Famagusta region. Roads_Construction company asking Famagusta Municipality how many meters or kilometers roads they have in Old_City? Select Attributes By Location tool helps to create a selection within a location or area that existed in specific layers.
13
QUERYING YOUR DATABASE (SELECT ATTRIBUTES BY LOCATION) Open Example_Four.mxd file from the training folder. Re_arrange the layers in order to make them visible in map display area.
14
SELECT ATTRIBUTES BY LOCATION Select “Old_City” polygon from Famagusta Boundaries Layer by using Select by Attributes option. Old_City polygon is highligthed in map display area.
15
SELECT ATTRIBUTES BY LOCATION Go to Selection menu and click on Zoom to Selected Feature. Change symbology of the layers and make Satellite image visible. You can also change display properties from layer properties menu in order to increase contrast of sat image and using Cubic Convolution for better image presentation.
16
SELECT ATTRIBUTES BY LOCATION Rigth_click on the Famagusta Boundaries layer and select Data and click export data. From the Export menu, make sure that method is chosen as selected features, named as Old_City_Area.shp and click ok.
17
SELECT ATTRIBUTES BY LOCATION Add exported layer by clicking yes. Change exported output layer name as Old_City from layer properties.
18
SELECT ATTRIBUTES BY LOCATION Go to Selection menu and click on Select Features by Location. Click on the Famagusta Roads check box and decide the method that u want to create selection. In Arcmap, u select features by intersection, containtment distance and adjacency. Using intersect method this time and zoom selected features from the map. As u noticed u selected the Roads intersect the polygons based on Famagusta_Boundaries layer.
19
SELECT ATTRIBUTES BY LOCATION Apply Select by Location tool by using Old_City layer and are completely within method from the options. Now you can open attribute table and calculate length of the road polylines and from Calulting Geometry tool.
20
Create a new data source Create a new data source Export selected features of a layer to a new shapefile or geodatabase feature classExport selected features of a layer to a new shapefile or geodatabase feature class Create a new layer Create a new layer Create a layer from selected features. The new layer is added to the map.Create a layer from selected features. The new layer is added to the map. Exporting Selected Features
21
Data Source Exporting Selected Features Note it defaults to shapefile.
22
Exporting Selected Feature Layer File Note the Source Tab!
23
Based on layer properties Based on layer properties Different from a selection: Different from a selection: Definition query only displays queried features (subset of original data)Definition query only displays queried features (subset of original data) Selection displays all features and highlights selected featuresSelection displays all features and highlights selected features Does not affect source Does not affect source Definition Queries
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.