SlideShare uma empresa 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)

Mais conteúdo relacionado

Mais de WV Assocation of Geospatial Professionals

Mais 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

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 

Último (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
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...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.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