SlideShare a Scribd company logo
Intro to Join and Relate
Prof. Dr. Sajid Rashid Ahmad
sajidpu@yahoo.com
Atiqa Ijaz Khan _ Demonstrator
atiqa_ss09@yahoo.com
JOIN
(ArcGIS 10.1)
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
2
Need for Join…!
• Most database design guidelines promote organizing your database into multiple
tables — each focused on a specific topic — instead of one large table containing
all the necessary fields.
• Having multiple tables prevents duplicating information in the database, because
you store the information only once in one table.
• When you need information that isn't in the current table, you can link the two
tables together.
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
3
With the help of ArcGIS
• ArcGIS allows to join or relate the records from a layer to a table etc.
• This can be done using a “Key” said to be the “Primary Key”.
• Joining can only be done, if one is having atleast one “Common Field” in both of
them.
• This is only temporarily.
• And it is stored only when one saves the Arc Map document. (.mxd)
• If one doesn’t store the Arc Map document, it will show NO join, next time opened
with the same file.
• Otherwise, “Export” the file with the records for being permanent.
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
4
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
5
Joining on the basis of
Common Field
Join in Arc GIS
• The input and target table should be either in the same directory or saved with
relative paths in order to establish the relationship on next opening of Arc Map.
• Otherwise, Repair the paths to re-new the relationship.
• The common field MUST have the “Same Data Type”.
• It is not necessary to have the same field name.
• It could have following relationships:
• One to one
• Many to one
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
6
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
7
Above:
One-to-one Relationship
Lower:
Many-to-one Relationship
Types of Join
• It could be join on the basis of:
• Non-spatial information (Attribute data)
• On the basis of common field or attribute data.
• With another layer or with table (Excel or Text file)
• Having common key or primary key.
• Spatial information (Locational data)
• All of the shapefiles can be joined with each other.
• Point to Line to Polygon (vice versa and within each other)
• All of the pairs are given different options.
• It will create new output file for every join.
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
8
Options available within Spatial join of Data in Arc GIS
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
9
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
10
LEFT:
Attribute Data (From
table)
RIGHT:
Locational Data (From
another layer)
Managing & Removing Joined Tables
• Managing Tables
• Right-click a layer or table in the table of contents and click Properties. Click the
Joins & Relates tab.
• All the joins for the layer or table are listed on the left side of the dialog box. You
can add new joins, remove existing ones, and view properties about the joins.
• Removing Tables
• In the table of contents, right-click the layer containing a join you want to remove.
• You can also click the Options button on an open table window.
Point to Joins and Relates, point to Remove Join(s), and click the join you want to
remove.
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
11
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
12
Joins & Relate
Relate in Arc GIS
• One table can only be joined with one layer at a time.
• One can keep:
• All Records, or (Default option)
• Only matching Records
• One can remove Join, anytime one wants.
• Join does not alter the original table.
• All the attribute operations are valid upon the fields that are joined together.
• As the joined table simply can be opened as “Attribute Table” in Arc Map.
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
13
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
14
Above:
Keeping all records
Lower:
Keep only matching records
RELATE
(ArcGIS 10.1)
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
15
• It only represents the relationship between two classes.
• Relate does not append the data to the layers permanently like join.
• It offers two relationships:
• One to many
• Many to many
• Relates are bi-directional. That means:
• Layer and table can be accessed cross each other.
• Table will be listed under the layer.
• Layer can be accessed by the table also.
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
16
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
17
How to Relate and Access it
Important Facts
• “Same Table” cannot be Relate to “Same Layer”, already Joined with that table.
• It will give error.
• Reverse can possible.
• “Same Table” can be Join to “Same Layer”, already Related with that table.
• During the “Join or Relate”, the table cannot save the edits on it. Unless it is
saved with another name.
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
18
Tuesday, March 3, 2015Institute of Geology, University of the Punjab
19

More Related Content

What's hot

International Journal of Computational Science and Information Technology (IJ...
International Journal of Computational Science and Information Technology (IJ...International Journal of Computational Science and Information Technology (IJ...
International Journal of Computational Science and Information Technology (IJ...
ijcsity
 
PRINCIPLE COMPONENT ANALYSIS.pptx
PRINCIPLE COMPONENT ANALYSIS.pptxPRINCIPLE COMPONENT ANALYSIS.pptx
PRINCIPLE COMPONENT ANALYSIS.pptx
ASHUTOSHGAURAV10
 
Introduction to excel - application to statistics
Introduction to excel - application to statisticsIntroduction to excel - application to statistics
Introduction to excel - application to statistics
zavenger
 
International Journal of Computational Science and Information Technology (IJ...
International Journal of Computational Science and Information Technology (IJ...International Journal of Computational Science and Information Technology (IJ...
International Journal of Computational Science and Information Technology (IJ...
ijcsity
 
Application of Stack, Link list , and Queue in Programming .
Application of Stack, Link list , and Queue in Programming .Application of Stack, Link list , and Queue in Programming .
Application of Stack, Link list , and Queue in Programming .
Mechanical Engineering at COMSATS Sahiwal
 
Data Visualization
Data VisualizationData Visualization
Data Visualization
ritesh_11
 
What i want to study
What i want to studyWhat i want to study
What i want to studysteveherrera
 
16 making charts
16 making charts16 making charts
16 making chartsMrQaz996
 
EnviroInsite training workshop - Database fundamentals
EnviroInsite training workshop - Database fundamentalsEnviroInsite training workshop - Database fundamentals
EnviroInsite training workshop - Database fundamentals
Bruce Jacobs
 

What's hot (11)

International Journal of Computational Science and Information Technology (IJ...
International Journal of Computational Science and Information Technology (IJ...International Journal of Computational Science and Information Technology (IJ...
International Journal of Computational Science and Information Technology (IJ...
 
PRINCIPLE COMPONENT ANALYSIS.pptx
PRINCIPLE COMPONENT ANALYSIS.pptxPRINCIPLE COMPONENT ANALYSIS.pptx
PRINCIPLE COMPONENT ANALYSIS.pptx
 
Introduction to excel - application to statistics
Introduction to excel - application to statisticsIntroduction to excel - application to statistics
Introduction to excel - application to statistics
 
International Journal of Computational Science and Information Technology (IJ...
International Journal of Computational Science and Information Technology (IJ...International Journal of Computational Science and Information Technology (IJ...
International Journal of Computational Science and Information Technology (IJ...
 
Application of Stack, Link list , and Queue in Programming .
Application of Stack, Link list , and Queue in Programming .Application of Stack, Link list , and Queue in Programming .
Application of Stack, Link list , and Queue in Programming .
 
Data Visualization
Data VisualizationData Visualization
Data Visualization
 
20090813MEETING
20090813MEETING20090813MEETING
20090813MEETING
 
What i want to study
What i want to studyWhat i want to study
What i want to study
 
16 making charts
16 making charts16 making charts
16 making charts
 
UTSlides
UTSlidesUTSlides
UTSlides
 
EnviroInsite training workshop - Database fundamentals
EnviroInsite training workshop - Database fundamentalsEnviroInsite training workshop - Database fundamentals
EnviroInsite training workshop - Database fundamentals
 

Similar to Lec_8_Intro to Join and Relate

Lec_12_Intro to Geodatabase and Topology
Lec_12_Intro to Geodatabase and TopologyLec_12_Intro to Geodatabase and Topology
Lec_12_Intro to Geodatabase and Topology
Atiqa khan
 
Create table relationships
Create table relationshipsCreate table relationships
Create table relationships
Dastan Kamaran
 
Create table relationships
Create table relationshipsCreate table relationships
Create table relationships
Dastan Kamaran
 
Applied GIS - 3022.pptx
Applied GIS - 3022.pptxApplied GIS - 3022.pptx
Applied GIS - 3022.pptx
temesgenabebe1
 
Basic introduction to ms access
Basic introduction to ms accessBasic introduction to ms access
Basic introduction to ms access
jigeno
 
research methodology presentation-6.pptx
research methodology presentation-6.pptxresearch methodology presentation-6.pptx
research methodology presentation-6.pptx
vidyasagarsharma0001
 

Similar to Lec_8_Intro to Join and Relate (6)

Lec_12_Intro to Geodatabase and Topology
Lec_12_Intro to Geodatabase and TopologyLec_12_Intro to Geodatabase and Topology
Lec_12_Intro to Geodatabase and Topology
 
Create table relationships
Create table relationshipsCreate table relationships
Create table relationships
 
Create table relationships
Create table relationshipsCreate table relationships
Create table relationships
 
Applied GIS - 3022.pptx
Applied GIS - 3022.pptxApplied GIS - 3022.pptx
Applied GIS - 3022.pptx
 
Basic introduction to ms access
Basic introduction to ms accessBasic introduction to ms access
Basic introduction to ms access
 
research methodology presentation-6.pptx
research methodology presentation-6.pptxresearch methodology presentation-6.pptx
research methodology presentation-6.pptx
 

More from Atiqa khan

2019_Wingdings Font - Times New Roman
2019_Wingdings Font  - Times New Roman2019_Wingdings Font  - Times New Roman
2019_Wingdings Font - Times New Roman
Atiqa khan
 
English Urdu Font in Windows 10 Keyboard
English Urdu Font in Windows 10 KeyboardEnglish Urdu Font in Windows 10 Keyboard
English Urdu Font in Windows 10 Keyboard
Atiqa khan
 
2018 Solutions to Sleep Screen
2018 Solutions to Sleep Screen2018 Solutions to Sleep Screen
2018 Solutions to Sleep Screen
Atiqa khan
 
2017 Thesis Check List Doc
2017 Thesis Check List Doc2017 Thesis Check List Doc
2017 Thesis Check List Doc
Atiqa khan
 
2017 Terms in GIS Town Planning
2017 Terms in GIS Town Planning2017 Terms in GIS Town Planning
2017 Terms in GIS Town Planning
Atiqa khan
 
2017 Pictorial Differences GIS & RS
2017 Pictorial Differences GIS & RS2017 Pictorial Differences GIS & RS
2017 Pictorial Differences GIS & RS
Atiqa khan
 
2017 Response Letter to a Journal
2017 Response Letter to a Journal2017 Response Letter to a Journal
2017 Response Letter to a Journal
Atiqa khan
 
2017 How to write Author Biography for Journal
2017 How to write Author Biography for Journal2017 How to write Author Biography for Journal
2017 How to write Author Biography for Journal
Atiqa khan
 
2017 Information about NUST Engineering
2017 Information about NUST Engineering2017 Information about NUST Engineering
2017 Information about NUST Engineering
Atiqa khan
 
2017 Glossary Of Cartographic Terms
2017 Glossary Of Cartographic Terms2017 Glossary Of Cartographic Terms
2017 Glossary Of Cartographic Terms
Atiqa khan
 
2017 Types Of Orbits Brief Explanation
2017 Types Of Orbits Brief Explanation2017 Types Of Orbits Brief Explanation
2017 Types Of Orbits Brief Explanation
Atiqa khan
 
2017 IST Undergraduates Admission Guide for Fall
2017 IST Undergraduates Admission Guide for Fall2017 IST Undergraduates Admission Guide for Fall
2017 IST Undergraduates Admission Guide for Fall
Atiqa khan
 
2017 Editable Thesis Checklist PDF
2017 Editable Thesis Checklist PDF2017 Editable Thesis Checklist PDF
2017 Editable Thesis Checklist PDF
Atiqa khan
 
2017 Basics of GIS
2017 Basics of GIS2017 Basics of GIS
2017 Basics of GIS
Atiqa khan
 
2016 Tenses in Research Paper
2016 Tenses in Research Paper2016 Tenses in Research Paper
2016 Tenses in Research Paper
Atiqa khan
 
Catalog of Earth Satellite Orbits_2017
Catalog of Earth Satellite Orbits_2017Catalog of Earth Satellite Orbits_2017
Catalog of Earth Satellite Orbits_2017
Atiqa khan
 
Physiology MBBS Part 2 UHS Paper-2016
Physiology MBBS Part 2 UHS Paper-2016Physiology MBBS Part 2 UHS Paper-2016
Physiology MBBS Part 2 UHS Paper-2016
Atiqa khan
 
Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016
Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016
Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016
Atiqa khan
 
Bio Chemistry MBBS Part 2 UHS Paper-2016
Bio Chemistry MBBS Part 2 UHS Paper-2016Bio Chemistry MBBS Part 2 UHS Paper-2016
Bio Chemistry MBBS Part 2 UHS Paper-2016
Atiqa khan
 
Editable CD Cover Template_2016
Editable CD Cover Template_2016Editable CD Cover Template_2016
Editable CD Cover Template_2016
Atiqa khan
 

More from Atiqa khan (20)

2019_Wingdings Font - Times New Roman
2019_Wingdings Font  - Times New Roman2019_Wingdings Font  - Times New Roman
2019_Wingdings Font - Times New Roman
 
English Urdu Font in Windows 10 Keyboard
English Urdu Font in Windows 10 KeyboardEnglish Urdu Font in Windows 10 Keyboard
English Urdu Font in Windows 10 Keyboard
 
2018 Solutions to Sleep Screen
2018 Solutions to Sleep Screen2018 Solutions to Sleep Screen
2018 Solutions to Sleep Screen
 
2017 Thesis Check List Doc
2017 Thesis Check List Doc2017 Thesis Check List Doc
2017 Thesis Check List Doc
 
2017 Terms in GIS Town Planning
2017 Terms in GIS Town Planning2017 Terms in GIS Town Planning
2017 Terms in GIS Town Planning
 
2017 Pictorial Differences GIS & RS
2017 Pictorial Differences GIS & RS2017 Pictorial Differences GIS & RS
2017 Pictorial Differences GIS & RS
 
2017 Response Letter to a Journal
2017 Response Letter to a Journal2017 Response Letter to a Journal
2017 Response Letter to a Journal
 
2017 How to write Author Biography for Journal
2017 How to write Author Biography for Journal2017 How to write Author Biography for Journal
2017 How to write Author Biography for Journal
 
2017 Information about NUST Engineering
2017 Information about NUST Engineering2017 Information about NUST Engineering
2017 Information about NUST Engineering
 
2017 Glossary Of Cartographic Terms
2017 Glossary Of Cartographic Terms2017 Glossary Of Cartographic Terms
2017 Glossary Of Cartographic Terms
 
2017 Types Of Orbits Brief Explanation
2017 Types Of Orbits Brief Explanation2017 Types Of Orbits Brief Explanation
2017 Types Of Orbits Brief Explanation
 
2017 IST Undergraduates Admission Guide for Fall
2017 IST Undergraduates Admission Guide for Fall2017 IST Undergraduates Admission Guide for Fall
2017 IST Undergraduates Admission Guide for Fall
 
2017 Editable Thesis Checklist PDF
2017 Editable Thesis Checklist PDF2017 Editable Thesis Checklist PDF
2017 Editable Thesis Checklist PDF
 
2017 Basics of GIS
2017 Basics of GIS2017 Basics of GIS
2017 Basics of GIS
 
2016 Tenses in Research Paper
2016 Tenses in Research Paper2016 Tenses in Research Paper
2016 Tenses in Research Paper
 
Catalog of Earth Satellite Orbits_2017
Catalog of Earth Satellite Orbits_2017Catalog of Earth Satellite Orbits_2017
Catalog of Earth Satellite Orbits_2017
 
Physiology MBBS Part 2 UHS Paper-2016
Physiology MBBS Part 2 UHS Paper-2016Physiology MBBS Part 2 UHS Paper-2016
Physiology MBBS Part 2 UHS Paper-2016
 
Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016
Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016
Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016
 
Bio Chemistry MBBS Part 2 UHS Paper-2016
Bio Chemistry MBBS Part 2 UHS Paper-2016Bio Chemistry MBBS Part 2 UHS Paper-2016
Bio Chemistry MBBS Part 2 UHS Paper-2016
 
Editable CD Cover Template_2016
Editable CD Cover Template_2016Editable CD Cover Template_2016
Editable CD Cover Template_2016
 

Recently uploaded

The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 

Recently uploaded (20)

The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 

Lec_8_Intro to Join and Relate

  • 1. Intro to Join and Relate Prof. Dr. Sajid Rashid Ahmad sajidpu@yahoo.com Atiqa Ijaz Khan _ Demonstrator atiqa_ss09@yahoo.com
  • 2. JOIN (ArcGIS 10.1) Tuesday, March 3, 2015Institute of Geology, University of the Punjab 2
  • 3. Need for Join…! • Most database design guidelines promote organizing your database into multiple tables — each focused on a specific topic — instead of one large table containing all the necessary fields. • Having multiple tables prevents duplicating information in the database, because you store the information only once in one table. • When you need information that isn't in the current table, you can link the two tables together. Tuesday, March 3, 2015Institute of Geology, University of the Punjab 3
  • 4. With the help of ArcGIS • ArcGIS allows to join or relate the records from a layer to a table etc. • This can be done using a “Key” said to be the “Primary Key”. • Joining can only be done, if one is having atleast one “Common Field” in both of them. • This is only temporarily. • And it is stored only when one saves the Arc Map document. (.mxd) • If one doesn’t store the Arc Map document, it will show NO join, next time opened with the same file. • Otherwise, “Export” the file with the records for being permanent. Tuesday, March 3, 2015Institute of Geology, University of the Punjab 4
  • 5. Tuesday, March 3, 2015Institute of Geology, University of the Punjab 5 Joining on the basis of Common Field
  • 6. Join in Arc GIS • The input and target table should be either in the same directory or saved with relative paths in order to establish the relationship on next opening of Arc Map. • Otherwise, Repair the paths to re-new the relationship. • The common field MUST have the “Same Data Type”. • It is not necessary to have the same field name. • It could have following relationships: • One to one • Many to one Tuesday, March 3, 2015Institute of Geology, University of the Punjab 6
  • 7. Tuesday, March 3, 2015Institute of Geology, University of the Punjab 7 Above: One-to-one Relationship Lower: Many-to-one Relationship
  • 8. Types of Join • It could be join on the basis of: • Non-spatial information (Attribute data) • On the basis of common field or attribute data. • With another layer or with table (Excel or Text file) • Having common key or primary key. • Spatial information (Locational data) • All of the shapefiles can be joined with each other. • Point to Line to Polygon (vice versa and within each other) • All of the pairs are given different options. • It will create new output file for every join. Tuesday, March 3, 2015Institute of Geology, University of the Punjab 8
  • 9. Options available within Spatial join of Data in Arc GIS Tuesday, March 3, 2015Institute of Geology, University of the Punjab 9
  • 10. Tuesday, March 3, 2015Institute of Geology, University of the Punjab 10 LEFT: Attribute Data (From table) RIGHT: Locational Data (From another layer)
  • 11. Managing & Removing Joined Tables • Managing Tables • Right-click a layer or table in the table of contents and click Properties. Click the Joins & Relates tab. • All the joins for the layer or table are listed on the left side of the dialog box. You can add new joins, remove existing ones, and view properties about the joins. • Removing Tables • In the table of contents, right-click the layer containing a join you want to remove. • You can also click the Options button on an open table window. Point to Joins and Relates, point to Remove Join(s), and click the join you want to remove. Tuesday, March 3, 2015Institute of Geology, University of the Punjab 11
  • 12. Tuesday, March 3, 2015Institute of Geology, University of the Punjab 12 Joins & Relate
  • 13. Relate in Arc GIS • One table can only be joined with one layer at a time. • One can keep: • All Records, or (Default option) • Only matching Records • One can remove Join, anytime one wants. • Join does not alter the original table. • All the attribute operations are valid upon the fields that are joined together. • As the joined table simply can be opened as “Attribute Table” in Arc Map. Tuesday, March 3, 2015Institute of Geology, University of the Punjab 13
  • 14. Tuesday, March 3, 2015Institute of Geology, University of the Punjab 14 Above: Keeping all records Lower: Keep only matching records
  • 15. RELATE (ArcGIS 10.1) Tuesday, March 3, 2015Institute of Geology, University of the Punjab 15
  • 16. • It only represents the relationship between two classes. • Relate does not append the data to the layers permanently like join. • It offers two relationships: • One to many • Many to many • Relates are bi-directional. That means: • Layer and table can be accessed cross each other. • Table will be listed under the layer. • Layer can be accessed by the table also. Tuesday, March 3, 2015Institute of Geology, University of the Punjab 16
  • 17. Tuesday, March 3, 2015Institute of Geology, University of the Punjab 17 How to Relate and Access it
  • 18. Important Facts • “Same Table” cannot be Relate to “Same Layer”, already Joined with that table. • It will give error. • Reverse can possible. • “Same Table” can be Join to “Same Layer”, already Related with that table. • During the “Join or Relate”, the table cannot save the edits on it. Unless it is saved with another name. Tuesday, March 3, 2015Institute of Geology, University of the Punjab 18
  • 19. Tuesday, March 3, 2015Institute of Geology, University of the Punjab 19