SlideShare una empresa de Scribd logo
1 de 12
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

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Último (20)

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

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