SlideShare a Scribd company logo
1 of 19
Download to read offline
แคปแลป4 Exploration (การสอบถามข้อมูล)
การสอบถามข้อมูล (Navigation Tools)
- เครื่องมือ Identify
เข้าไปยัง RTArcGIS > Kanchanaburi > Amphoe จากนั้นเปิดข้อมูลอาเภอ จากนั้นกดไปที่ Identify เพื่อใช้จุดไปยังที่
ที่เราต้องการทราบข้อมูล
กดไปพื้นที่ใดก็ได้ เมื่อกดแล้วเราจะสามารถทราบได้ว่านี่คือพื้นที่ของอาเภอใด เช่นในภาพเป็นพื้นที่อาเภอทองผาภูมิ
ไปที่เครื่องมือ Find เลือกเครื่องมือ Find เพื่อที่เราจะสามารถค้นข้อมูลโดยพิมพ์ข้อความลงไป
พิมพ์ที่ช่อง Find ว่า “อ.ศรีสวัสดิ์” จากนั้นกด Find ข้อมูลจะปรากฎอยู่ในช่อง Right –click a row to show context
menu. ดังภาพ
- ไปที่ Go to XY เราสามารถคีย์ค่าพิกัด ละติจูดกับลองจิจูด ได้ แต่ต้องตรงกับแผนที่ที่เราใช้
การแสดงเฉพาะข้อมูลที่เลือก (Definition query) โดยใช้หน้าต่าง Query Builder และภาษา SQL
คลิกขวาที่อาเภอ ไปที่Properties
จากนั้นเลือก Definition Query ไปที่Query Builder และ Double Click ที่ AMP_NAME และกด Get Unique
Values และเลือกอาเภอที่เราต้องการ กด OK
เราก็จะได้ข้อมูลอาเภอที่เราต้องการ ดังภาพ
การเขียนโดยใช้ 2 เงื่อนไขเชื่อมเข้าด้วยกัน โดยใช้ OR เขียนโดยการเลือก AMP_NAMEและต้องกดที่Get Unique
Value "AMP_NAME" = 'อ.ทองผาภูมิ' OR "AMP_NAME" = 'อ.บ่อพลอย' และกด Ok
เราก็จะได้ข้อมูลอาเภอที่เราต้องการ ดังภาพ
การสอบถามข้อมูลโดยใช้ Select by Attribute โดยใช้ภาษา SQL
ไปยังแฟ้ มข้อมูล Lab11 > World > Country.shpและทาการดึงข้อมูล Country เข้ามาใน Display Area
คลิกขวาที่ Country > Open Attribute เราสามารถรู้ได้ว่าข้อมูลแต่ละอันเป็นอย่างไร และแต่ละอันใช้เพื่ออะไร เช่น
FID แสดงลาดับของประเทศ 0-251
CNTRY_NAME เก็บชื่อประเทศไว้
POP_CNT มาจากคาว่า Population คือจานวนประชากร
SQKM_CNTR มาจากคาว่า Sqare kilometer บอกค่าเป็น กิโลเมตร
SQMI_CNTR มาจากคาว่า Sqare Mile บอกค่าเป็น ไมล์
CURR_TYPE บอกค่าเป็นสกุลเงิน ว่าประเทศนั้นๆใช้สกุลเงินใด
CURR_CODE บอก Code ของสกุลเงิน LANDLOCK ลักษณะที่ตั้งภูมิประเทศที่บอกถึงประเทศนั้นๆไม่มีทางออก
ติดกับทะเลใช่หรือไม่ Y (Yes) ไม่ติด , N (No) ติด
จากนั้นให้คลิกไปที่ SQKM_CNT จากนั้นเลือก Select By Attribute
จากนั้นให้เราทาการใส่ค่าที่เราต้องการ โดยคลิกเลือก "CNTRY_NAME"และคลิกเลือก = จากนั้นคลิกที่ Get Unique
Value และเลือก 'Thailand' จากนั้นกด Apply
จากนั้นคลิกไปที่ Show Select Record (ตารางที่ 2 ด้านล่าง) เมื่อเสร็จแล้ว เราจะได้พื้นที่รวมของประเทศไทยมีหน่วย
เป็นกิโลเมตร
จากนั้นให้ลองเลือกข้อมูลใหม่โดยเลือก "POP_CNTY" เลือก > และใส่ค่า 300000000 จากนั้นกด Apply
เราจะทราบว่าประเทศใดบ้างที่มีประชากรมากกว่า 300,000,000 คน
จากนั้นเปลี่ยนค้นหาข้อมูลอื่น โดยเลือก "CNTRY_NAME" เลือก LIKE และ 'An%' จากนั้นกด Apply
เราก็จะทราบว่ามีชื่อประเทศใดบ้างที่ขึ้นต้นด้วย ‘An’
จากนั้นเปลี่ยนเป็น "POP_CNTY" เลือก > ใส่ค่าเป็น 200000000 เลือก OR คลิกเลือก "LANDLOCKED" เลือก = และ
เลือก 'Y' จากนั้นกด Apply
ก็จะทราบว่ามีทั้งหมด 46 ประเทศ มีประเทศอะไรบ้าง
ไปนาข้อมูลจังหวัดกาญจนบุรีมา จากนั้นเลือกไฟล์ที่ชื่อว่า Village, Trans และ Amphoe โดยลากมาใส่ไว้ใน Display
Area
จากนั้นไปที่ Selection เลือก Selection By Location...
จะมีหน้าต่างนี้ขึ้นมา
ให้ติ๊กเครื่องหมายถูกที่ Village และทาการใส่ค่าเป็น 100 Meters ดังภาพ จากนั้นกด Apply
จะได้หมู่บ้านที่อยู่ใกล้ถนน 100 เมตร ดังภาพ
หากเราต้องการทราบว่ามีกี่หมู่บ้านที่อยู่บนถนน ให้เลือก Village และติ๊กเครื่องหมายถูกออก ตรงคา ว่า Apply a
Search Distance จากนั้นกด Apply จะได้ภาพ ดังนี้
หากต้องการทราบว่ามีหมู่บ้านและเส้นถนนไหนบ้างที่อยู่ในอาเภอ ให้เลือก Village และ Trans จากนั้นติ้กเครื่องหมาย
ถูกออก ตรงคาว่า Apply a Search Distanceจากนั้นกด Apply จะได้ดังภาพ
Cap4
Cap4
Cap4

More Related Content

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Cap4