SlideShare una empresa de Scribd logo
1 de 12
Descargar para leer sin conexión
Maneesh Sharma
  West Virginia GIS Technical Center
Department of Geology and Geography
       West Virginia University
         Morgantown 26505
   Maneesh.Sharma@mail.wvu.edu
   Queries in feature classes
    ◦ Attribute Query
      Demonstration
    ◦ Location Query
      Demonstration
   Query in Data driven Pages
    ◦ Dynamic query
      Demonstration
   Questions
   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
   A query expression needs 3 components

    ◦ Attribute Field Operator Field Attribute Value
      "AssessedAcres"       >=        0.19

    ◦ The result will show a set of selected features
   Different types of operators can be used

   Calculations can be done

    ◦ "AssessedAcres" >= 0.12 * 100
     Or
        "Perimeter" >= "Acres" * 10
   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
   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
   A location query is based on their location
    relative to other features that meet certain
    conditions

   Main types
    ◦ Near
    ◦ Intersect
    ◦ Inside
   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
   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
   Demonstration
ArcGIS Queries (3Nov2011)

Más contenido relacionado

Más de WV Assocation of Geospatial Professionals

Más de WV Assocation of Geospatial Professionals (20)

Proceedings for 2016 WV EPAN GIS Users Group Meeting
Proceedings for 2016 WV EPAN GIS Users Group MeetingProceedings for 2016 WV EPAN GIS Users Group Meeting
Proceedings for 2016 WV EPAN GIS Users Group Meeting
 
Evaluating Riparian Buffers of WV Landowners in Chesapeake Bay Drainage
Evaluating Riparian Buffers of WV Landowners in Chesapeake Bay Drainage Evaluating Riparian Buffers of WV Landowners in Chesapeake Bay Drainage
Evaluating Riparian Buffers of WV Landowners in Chesapeake Bay Drainage
 
2016 Agenda for WV EPAN Users Group Meeting
2016 Agenda for WV EPAN Users Group Meeting2016 Agenda for WV EPAN Users Group Meeting
2016 Agenda for WV EPAN Users Group Meeting
 
WV Local GIS Data Contributions to State/Federal Datasets
WV Local GIS Data Contributions to State/Federal DatasetsWV Local GIS Data Contributions to State/Federal Datasets
WV Local GIS Data Contributions to State/Federal Datasets
 
Agenda EPAN 2015
Agenda EPAN 2015Agenda EPAN 2015
Agenda EPAN 2015
 
Transitioning Applications to the Web App Builder
Transitioning Applications to the Web App BuilderTransitioning Applications to the Web App Builder
Transitioning Applications to the Web App Builder
 
Stormwater and GIS
Stormwater and GISStormwater and GIS
Stormwater and GIS
 
Pictometry Imagery for West Virginia
Pictometry Imagery for West VirginiaPictometry Imagery for West Virginia
Pictometry Imagery for West Virginia
 
Device Locational Accuracy
Device Locational AccuracyDevice Locational Accuracy
Device Locational Accuracy
 
WV Statewide Addressing and Mapping Update (SAMS-II)
WV Statewide Addressing and Mapping Update (SAMS-II)WV Statewide Addressing and Mapping Update (SAMS-II)
WV Statewide Addressing and Mapping Update (SAMS-II)
 
Agenda for WVAGP 2015 Annual Meeting
Agenda for WVAGP 2015 Annual MeetingAgenda for WVAGP 2015 Annual Meeting
Agenda for WVAGP 2015 Annual Meeting
 
WV 3D Elevation Program (3DEP) / BAA Overview
WV 3D Elevation Program (3DEP) / BAA OverviewWV 3D Elevation Program (3DEP) / BAA Overview
WV 3D Elevation Program (3DEP) / BAA Overview
 
WV National Hydrography Dataset (NHD) Update
WV National Hydrography Dataset (NHD) UpdateWV National Hydrography Dataset (NHD) Update
WV National Hydrography Dataset (NHD) Update
 
Three Rivers Quest (WV Water Research Institute)
Three Rivers Quest (WV Water Research Institute)Three Rivers Quest (WV Water Research Institute)
Three Rivers Quest (WV Water Research Institute)
 
Geospatial Initiatives: A National Perspective
 Geospatial Initiatives: A National Perspective Geospatial Initiatives: A National Perspective
Geospatial Initiatives: A National Perspective
 
2013 WV Epan GIS Users Group Meeting Agenda
2013 WV Epan GIS Users Group Meeting Agenda2013 WV Epan GIS Users Group Meeting Agenda
2013 WV Epan GIS Users Group Meeting Agenda
 
Python and ArcGIS 10.1
Python and ArcGIS 10.1Python and ArcGIS 10.1
Python and ArcGIS 10.1
 
Predicting Future Growth from Unbuilt Lots
Predicting Future Growth from Unbuilt LotsPredicting Future Growth from Unbuilt Lots
Predicting Future Growth from Unbuilt Lots
 
Mobile Options for ArcGIS – Selecting Your Solution
Mobile Options for ArcGIS – Selecting Your SolutionMobile Options for ArcGIS – Selecting Your Solution
Mobile Options for ArcGIS – Selecting Your Solution
 
Martinsburg Urban Tree Inventory
Martinsburg Urban Tree InventoryMartinsburg Urban Tree Inventory
Martinsburg Urban Tree Inventory
 

Último

IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfDaniel Santiago Silva Capera
 
UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPathCommunity
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdfPedro Manuel
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8DianaGray10
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UbiTrack UK
 
9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding TeamAdam Moalla
 
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IES VE
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsSeth Reyes
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Adtran
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxGDSC PJATK
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintMahmoud Rabie
 
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7DianaGray10
 
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1DianaGray10
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Websitedgelyza
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDELiveplex
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...Aggregage
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationIES VE
 
20230202 - Introduction to tis-py
20230202 - Introduction to tis-py20230202 - Introduction to tis-py
20230202 - Introduction to tis-pyJamie (Taka) Wang
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfAijun Zhang
 

Último (20)

IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
 
UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation Developers
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdf
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
 
9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team
 
201610817 - edge part1
201610817 - edge part1201610817 - edge part1
201610817 - edge part1
 
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and Hazards
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptx
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership Blueprint
 
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7
 
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Website
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
 
20230202 - Introduction to tis-py
20230202 - Introduction to tis-py20230202 - Introduction to tis-py
20230202 - Introduction to tis-py
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdf
 

ArcGIS Queries (3Nov2011)

  • 1. Maneesh Sharma West Virginia GIS Technical Center Department of Geology and Geography West Virginia University Morgantown 26505 Maneesh.Sharma@mail.wvu.edu
  • 2. Queries in feature classes ◦ Attribute Query  Demonstration ◦ Location Query  Demonstration  Query in Data driven Pages ◦ Dynamic query  Demonstration  Questions
  • 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. 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. Different types of operators can be used  Calculations can be done ◦ "AssessedAcres" >= 0.12 * 100 Or "Perimeter" >= "Acres" * 10
  • 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. 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. A location query is based on their location relative to other features that meet certain conditions  Main types ◦ Near ◦ Intersect ◦ Inside
  • 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. 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. Demonstration