SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 

Kürzlich hochgeladen

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
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
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Kürzlich hochgeladen (20)

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
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
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
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...
 
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...
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 

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