SlideShare a Scribd company logo
1 of 8
Lab 10: Spatial Queries
You have been asked to determine what census tract that each parcel
Property is contained.
How will you find the tract number for each parcel property &
display on a map using MapInfo?
In this lesson, you will learn how to ask questions/ query multiple data
layers when the only relationship between the layers is spatial.
You will learn what spatial operators : within, contain, intersect
You will also learn what a buffer is, how to create and how to use the
spatial operators with a buffer.
To create a Spatial SQL to answer:
Which parcels are within contaminated soil?
Spatial SQL in MapInfo
Select File> Open Table Select parcel & contaminated soil table.
Then:
1 Select Query
2 Select SQL Select
1
2
(Continued on next slide)
Continued- Spatial SQL-Which parcels are within contaminated soil?
Answer is parcels
shaded orange
2 Select the tables using tables button
3 Move cursor to where condition box, select
columns button- select file. Obj
Select Operators button- select within
Select columns button- select file.obj
4 Select Verify
5 Select OK
2
2
3
3
3
4
5
Which parcels are intersect contaminated soil?
Spatial SQL
The order of tables can change
the spatial SQL result.
If contaminated soil table listed
first, it is the base table & the
output of the SQL is one
contaminated soil record (polygon).
If parcel table listed first,
it is the base table & the
output of the SQL is many
parcel records (polygons)
Spatial SQL
Example: Buffering selected polygons at a constant distance in MapInfo & having the buffer result in
one buffer for each object:
Select File>Open Table select table to buffer; In layer control- 1 make the cosmetic layer be Editable
2 Select OK
Buffer result
(3 buffer polygons)
3 Select objects to buffer on map using arrow select
3
3
3
4 Select Objects
5 Select Buffer
6 Type Radius value &
select units feet or miles
select smoothness value
select 1 buffer or multiple
7 Select OK
1 2
4
5
6
7
Example: Buffering selected polygons at a constant distance in MapInfo & having the buffer result in
one buffer of all objects
Buffer result
(1 buffer polygon)
You are now ready to begin MapInfo Exercise- Lab 10
Spatial Queries. The main objectives are:
• To ask questions or query data layers using:
Query> SQL Select Menu using operators of
within, contain, & intersect
• To create a buffer and using spatial operators, determine
if features from one layer are within or intersect features
from another layer
• Begin exercise- lab 10

More Related Content

Similar to using query with MI

Lewis jssap3 e_labman02
Lewis jssap3 e_labman02Lewis jssap3 e_labman02
Lewis jssap3 e_labman02
auswhit
 
FIT5047 Semester 1, 2015 Problem Solving as SearchFIT5047 .docx
FIT5047 Semester 1, 2015 Problem Solving as SearchFIT5047 .docxFIT5047 Semester 1, 2015 Problem Solving as SearchFIT5047 .docx
FIT5047 Semester 1, 2015 Problem Solving as SearchFIT5047 .docx
voversbyobersby
 
36591202 carlson-surv ce-getting-started-tutorial
36591202 carlson-surv ce-getting-started-tutorial36591202 carlson-surv ce-getting-started-tutorial
36591202 carlson-surv ce-getting-started-tutorial
triboedi bedu
 
1 Project 2 Introduction - the SeaPort Project seri.docx
1  Project 2 Introduction - the SeaPort Project seri.docx1  Project 2 Introduction - the SeaPort Project seri.docx
1 Project 2 Introduction - the SeaPort Project seri.docx
honey725342
 
The life of a query (oracle edition)
The life of a query (oracle edition)The life of a query (oracle edition)
The life of a query (oracle edition)
maclean liu
 
ContentsCOSC 2436 – LAB4TITLE .............................docx
ContentsCOSC 2436 – LAB4TITLE .............................docxContentsCOSC 2436 – LAB4TITLE .............................docx
ContentsCOSC 2436 – LAB4TITLE .............................docx
dickonsondorris
 
Lecture02 abap on line
Lecture02 abap on lineLecture02 abap on line
Lecture02 abap on line
Milind Patil
 
TAO Fayan_ Introduction to WEKA
TAO Fayan_ Introduction to WEKATAO Fayan_ Introduction to WEKA
TAO Fayan_ Introduction to WEKA
Fayan TAO
 
Consuming and Publishing Ordnance Survey Open Data with Open Source Software
Consuming and Publishing Ordnance Survey Open Data with Open Source SoftwareConsuming and Publishing Ordnance Survey Open Data with Open Source Software
Consuming and Publishing Ordnance Survey Open Data with Open Source Software
Joanne Cook
 

Similar to using query with MI (20)

Linkage mapping and QTL analysis_Lab
Linkage mapping and QTL analysis_LabLinkage mapping and QTL analysis_Lab
Linkage mapping and QTL analysis_Lab
 
Interview Preparation
Interview PreparationInterview Preparation
Interview Preparation
 
Resource estimation using Surpac software in mining
Resource estimation using Surpac software in mining Resource estimation using Surpac software in mining
Resource estimation using Surpac software in mining
 
Excel tips-tricks
Excel tips-tricksExcel tips-tricks
Excel tips-tricks
 
Surpac geological modelling 3
Surpac geological modelling 3Surpac geological modelling 3
Surpac geological modelling 3
 
Surpac geological modelling 3
Surpac geological modelling 3Surpac geological modelling 3
Surpac geological modelling 3
 
Lewis jssap3 e_labman02
Lewis jssap3 e_labman02Lewis jssap3 e_labman02
Lewis jssap3 e_labman02
 
FIT5047 Semester 1, 2015 Problem Solving as SearchFIT5047 .docx
FIT5047 Semester 1, 2015 Problem Solving as SearchFIT5047 .docxFIT5047 Semester 1, 2015 Problem Solving as SearchFIT5047 .docx
FIT5047 Semester 1, 2015 Problem Solving as SearchFIT5047 .docx
 
36591202 carlson-surv ce-getting-started-tutorial
36591202 carlson-surv ce-getting-started-tutorial36591202 carlson-surv ce-getting-started-tutorial
36591202 carlson-surv ce-getting-started-tutorial
 
1 Project 2 Introduction - the SeaPort Project seri.docx
1  Project 2 Introduction - the SeaPort Project seri.docx1  Project 2 Introduction - the SeaPort Project seri.docx
1 Project 2 Introduction - the SeaPort Project seri.docx
 
Cloneselector software training
Cloneselector software trainingCloneselector software training
Cloneselector software training
 
The life of a query (oracle edition)
The life of a query (oracle edition)The life of a query (oracle edition)
The life of a query (oracle edition)
 
ContentsCOSC 2436 – LAB4TITLE .............................docx
ContentsCOSC 2436 – LAB4TITLE .............................docxContentsCOSC 2436 – LAB4TITLE .............................docx
ContentsCOSC 2436 – LAB4TITLE .............................docx
 
Lecture02 abap on line
Lecture02 abap on lineLecture02 abap on line
Lecture02 abap on line
 
TAO Fayan_ Introduction to WEKA
TAO Fayan_ Introduction to WEKATAO Fayan_ Introduction to WEKA
TAO Fayan_ Introduction to WEKA
 
Spike sorting-tutorial
Spike sorting-tutorialSpike sorting-tutorial
Spike sorting-tutorial
 
Consuming and Publishing Ordnance Survey Open Data with Open Source Software
Consuming and Publishing Ordnance Survey Open Data with Open Source SoftwareConsuming and Publishing Ordnance Survey Open Data with Open Source Software
Consuming and Publishing Ordnance Survey Open Data with Open Source Software
 
Geographic information system and remote sensing
Geographic information system and remote sensingGeographic information system and remote sensing
Geographic information system and remote sensing
 
Data preparation, depth function
Data preparation, depth functionData preparation, depth function
Data preparation, depth function
 
Introduction to Tools in ArcGIS
Introduction to Tools in ArcGISIntroduction to Tools in ArcGIS
Introduction to Tools in ArcGIS
 

More from Virak Sou (19)

Presentation
PresentationPresentation
Presentation
 
2 drive test analysis ver1
2 drive test analysis ver12 drive test analysis ver1
2 drive test analysis ver1
 
Smart antenna algorithm and application
Smart antenna algorithm and applicationSmart antenna algorithm and application
Smart antenna algorithm and application
 
M2000 operation-guide
M2000 operation-guideM2000 operation-guide
M2000 operation-guide
 
Mb ug
Mb ugMb ug
Mb ug
 
Slide 11516
Slide 11516Slide 11516
Slide 11516
 
Ibwave propagation quick start guide
Ibwave propagation   quick start guideIbwave propagation   quick start guide
Ibwave propagation quick start guide
 
Mimo
MimoMimo
Mimo
 
how to reduce Poilot pollution in 3G
how to reduce Poilot pollution in 3Ghow to reduce Poilot pollution in 3G
how to reduce Poilot pollution in 3G
 
Mimo
MimoMimo
Mimo
 
Compare report 2 tx4rx 04102013
Compare report 2 tx4rx 04102013Compare report 2 tx4rx 04102013
Compare report 2 tx4rx 04102013
 
3G cluster optimization guide
3G cluster optimization guide3G cluster optimization guide
3G cluster optimization guide
 
Dc hspatechnology-120919125703-phpapp01
Dc hspatechnology-120919125703-phpapp01Dc hspatechnology-120919125703-phpapp01
Dc hspatechnology-120919125703-phpapp01
 
MIMO system (potential candidate for 4G system)
MIMO system (potential candidate for 4G system)MIMO system (potential candidate for 4G system)
MIMO system (potential candidate for 4G system)
 
4G amercias_mimo_smart_antennas_wp_2013jul
4G amercias_mimo_smart_antennas_wp_2013jul4G amercias_mimo_smart_antennas_wp_2013jul
4G amercias_mimo_smart_antennas_wp_2013jul
 
Test case node b upgrade
Test case node b upgradeTest case node b upgrade
Test case node b upgrade
 
Ais 3 g_2100m_hz_ne_b1 udn11 overshoot analysis
Ais 3 g_2100m_hz_ne_b1 udn11 overshoot analysisAis 3 g_2100m_hz_ne_b1 udn11 overshoot analysis
Ais 3 g_2100m_hz_ne_b1 udn11 overshoot analysis
 
Cqi basics
Cqi basicsCqi basics
Cqi basics
 
Ssv template
Ssv templateSsv template
Ssv template
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 

using query with MI

  • 1. Lab 10: Spatial Queries You have been asked to determine what census tract that each parcel Property is contained. How will you find the tract number for each parcel property & display on a map using MapInfo? In this lesson, you will learn how to ask questions/ query multiple data layers when the only relationship between the layers is spatial. You will learn what spatial operators : within, contain, intersect You will also learn what a buffer is, how to create and how to use the spatial operators with a buffer.
  • 2. To create a Spatial SQL to answer: Which parcels are within contaminated soil? Spatial SQL in MapInfo Select File> Open Table Select parcel & contaminated soil table. Then: 1 Select Query 2 Select SQL Select 1 2 (Continued on next slide)
  • 3. Continued- Spatial SQL-Which parcels are within contaminated soil? Answer is parcels shaded orange 2 Select the tables using tables button 3 Move cursor to where condition box, select columns button- select file. Obj Select Operators button- select within Select columns button- select file.obj 4 Select Verify 5 Select OK 2 2 3 3 3 4 5
  • 4. Which parcels are intersect contaminated soil? Spatial SQL
  • 5. The order of tables can change the spatial SQL result. If contaminated soil table listed first, it is the base table & the output of the SQL is one contaminated soil record (polygon). If parcel table listed first, it is the base table & the output of the SQL is many parcel records (polygons) Spatial SQL
  • 6. Example: Buffering selected polygons at a constant distance in MapInfo & having the buffer result in one buffer for each object: Select File>Open Table select table to buffer; In layer control- 1 make the cosmetic layer be Editable 2 Select OK Buffer result (3 buffer polygons) 3 Select objects to buffer on map using arrow select 3 3 3 4 Select Objects 5 Select Buffer 6 Type Radius value & select units feet or miles select smoothness value select 1 buffer or multiple 7 Select OK 1 2 4 5 6 7
  • 7. Example: Buffering selected polygons at a constant distance in MapInfo & having the buffer result in one buffer of all objects Buffer result (1 buffer polygon)
  • 8. You are now ready to begin MapInfo Exercise- Lab 10 Spatial Queries. The main objectives are: • To ask questions or query data layers using: Query> SQL Select Menu using operators of within, contain, & intersect • To create a buffer and using spatial operators, determine if features from one layer are within or intersect features from another layer • Begin exercise- lab 10