ข้อมูลอ้างอิงสคีมาของ Maps (สถานที่ของคุณ)
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ออบเจ็กต์ที่ส่งออก: สถานที่ที่ติดดาว
ออบเจ็กต์ที่ส่งออกแสดงถึงสถานที่ที่ติดดาวเป็นรายการโปรด
ระบบจะส่งออกออบเจ็กต์ในรูปแบบ GeoJSON
ออบเจ็กต์ที่ส่งออกจะมีฟิลด์ต่อไปนี้
* ฟิลด์ก่อนหน้าแสดงฟิลด์ข้อมูลหลักเพื่อวัตถุประสงค์ในการแยกวิเคราะห์และส่งผ่านข้อมูลการส่งออกที่เกี่ยวข้อง ช่องข้อมูลที่สร้างขึ้นในการส่งออกจะแตกต่างกันไปตามบริการและการดําเนินการของผู้ใช้ และบริการหรือการดําเนินการบางอย่างไม่ได้สร้างช่องข้อมูลแต่ละช่องตามที่อธิบายไว้ |
ฟิลด์ข้อมูล * | คําจํากัดความของฟิลด์ | ประเภทฟิลด์ข้อมูล |
---|
ประเภท | ค่าคงที่ "Feature" | สตริง |
geometry.type | ค่าคงที่ "Point" | สตริง |
geometry.coordinates | องค์ประกอบแรกคือลองจิจูดของสถานที่เป็นองศา ส่วนองค์ประกอบที่ 2 คือละติจูดของสถานที่เป็นองศา หากไม่ทราบค่าทั้งลองจิจูดและละติจูดจะเป็น 0 | อาร์เรย์ของประเภท float |
วันที่ | วันที่/เวลา UTC ล่าสุดที่มีการแก้ไขหรือสร้างเนื้อหานี้ในรูปแบบ Java ISO_INSTANT (YYYY-MM-DDTHH:mm:ssZ) | วันที่ |
google_maps_url | URL ของ Google Maps ไปยังสถานที่ของการมีส่วนร่วมนี้ | สตริง |
สถานที่ | ข้อมูลเมตาเกี่ยวกับสถานที่ที่ข้อมูลนี้ใช้ | อาร์เรย์ออบเจ็กต์ |
location.address | ที่อยู่ของสถานที่ที่ข้อมูลนี้ใช้ | สตริง |
location.country_code | รหัสประเทศ ISO 3166-1 alpha-2 ของสถานที่ที่เนื้อหานี้จัดทำขึ้นเพื่อแสดง | สตริง |
location.name | ชื่อของสถานที่ที่ข้อมูลนี้แสดง | สตริง |
ออบเจ็กต์ที่ส่งออก: รีวิว
ออบเจ็กต์ที่ส่งออกแสดงถึงรีวิว (แบบมีหรือไม่มีข้อความ) ที่ให้ไว้สำหรับสถานที่หนึ่งๆ
ระบบจะส่งออกออบเจ็กต์ในรูปแบบ GeoJSON
ออบเจ็กต์ที่ส่งออกจะมีฟิลด์ต่อไปนี้
* ฟิลด์ก่อนหน้าแสดงฟิลด์ข้อมูลหลักเพื่อวัตถุประสงค์ในการแยกวิเคราะห์และส่งผ่านข้อมูลการส่งออกที่เกี่ยวข้อง ช่องข้อมูลที่สร้างขึ้นในการส่งออกจะแตกต่างกันไปตามบริการและการดําเนินการของผู้ใช้ และบริการหรือการดําเนินการบางอย่างไม่ได้สร้างช่องข้อมูลแต่ละช่องตามที่อธิบายไว้ |
ฟิลด์ข้อมูล * | คําจํากัดความของฟิลด์ | ประเภทฟิลด์ข้อมูล |
---|
ประเภท | ค่าคงที่ "Feature" | สตริง |
geometry.type | ค่าคงที่ "Point" | สตริง |
geometry.coordinates | องค์ประกอบแรกคือลองจิจูดของสถานที่เป็นองศา ส่วนองค์ประกอบที่ 2 คือละติจูดของสถานที่เป็นองศา หากไม่ทราบค่าทั้งลองจิจูดและละติจูดจะเป็น 0 | อาร์เรย์ของประเภท float |
วันที่ | วันที่/เวลา UTC ล่าสุดที่มีการแก้ไขหรือสร้างเนื้อหานี้ในรูปแบบ Java ISO_INSTANT (YYYY-MM-DDTHH:mm:ssZ) | วันที่ |
five_star_rating_draft | คะแนน 1-5 ของฉบับร่าง (ไม่ใช่ฉบับที่เผยแพร่) | จำนวนเต็ม |
five_star_rating_published | คะแนน 1-5 ที่เผยแพร่แล้ว (ไม่ใช่ฉบับร่าง) | จำนวนเต็ม |
google_maps_url | URL ของ Google Maps ไปยังสถานที่ของการมีส่วนร่วมนี้ | สตริง |
สถานที่ | ข้อมูลเมตาเกี่ยวกับสถานที่ที่ข้อมูลนี้ใช้ | อาร์เรย์ออบเจ็กต์ |
location.address | ที่อยู่ของสถานที่ที่ข้อมูลนี้ใช้ | สตริง |
location.country_code | รหัสประเทศ ISO 3166-1 alpha-2 ของสถานที่ที่เนื้อหานี้จัดทำขึ้นเพื่อแสดง | สตริง |
location.name | ชื่อของสถานที่ที่ข้อมูลนี้แสดง | สตริง |
คำถาม | คำถามที่ตอบเกี่ยวกับสถานที่ | อาร์เรย์ออบเจ็กต์ |
questions.question | คำถามที่ถาม | สตริง |
questions.selected_option | คำตอบที่เลือกสำหรับคำถามแบบหลายตัวเลือกที่อนุญาตให้เลือกได้เพียงตัวเลือกเดียว | สตริง |
questions.selected_options | คำตอบที่เลือกสำหรับคำถามแบบหลายตัวเลือกที่อนุญาตให้เลือกได้มากกว่า 1 ตัวเลือก | อาร์เรย์สตริง |
questions.text_answer | คำตอบแบบอิสระที่ระบุ | สตริง |
questions.rating | คำตอบการให้คะแนน | จำนวนเต็ม |
review_text_draft | ข้อความฉบับร่าง (ไม่ใช่ข้อความที่เผยแพร่) ของรีวิว | สตริง |
review_text_published | ข้อความรีวิวที่เผยแพร่ (ไม่ใช่ฉบับร่าง) | สตริง |
ตารางที่แสดงกลุ่มทรัพยากรและออบเจ็กต์ที่ส่งออกด้วยกลุ่มทรัพยากร * | คำอธิบาย | ออบเจ็กต์ที่ส่งออก |
---|
maps.reviews | กลุ่มทรัพยากรนี้มีรีวิว คะแนน และความคิดเห็นเกี่ยวกับสถานที่ที่ผู้ใช้โพสต์ใน Maps รวมถึงข้อมูลเมตาที่เกี่ยวข้อง เช่น ระดับราคา | รีวิว |
maps.starred_places | กลุ่มทรัพยากรนี้มีสถานที่ที่ผู้ใช้บันทึกไว้ในรายการสถานที่ที่ติดดาวใน Maps | สถานที่ที่ติดดาว |
* หากต้องการดูชื่อขอบเขต OAuth ของกลุ่มทรัพยากรที่เฉพาะเจาะจง ให้เพิ่ม "https://www.googleapis.com/auth/dataportability" ต่อท้ายกลุ่มทรัพยากร เช่น ชื่อขอบเขต OAuth สําหรับกลุ่มทรัพยากร "myactivity.search" คือ "https://www.googleapis.com/auth/dataportability.myactivity.search" |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eGoogle Takeout exports two types of Maps data: Starred Places and Reviews.\u003c/p\u003e\n"],["\u003cp\u003eStarred Places data includes basic location information like address, country code, and Google Maps URL.\u003c/p\u003e\n"],["\u003cp\u003eReviews data includes ratings, reviews (draft and published), answers to questions, and location details.\u003c/p\u003e\n"],["\u003cp\u003eData is exported in GeoJSON format and is accessible via specific OAuth scopes.\u003c/p\u003e\n"],["\u003cp\u003eEach data field has a defined type, such as date, string, integer, or array of objects.\u003c/p\u003e\n"]]],[],null,["# Maps (your places) Schema Reference\n\n| Data Field \\* | Field Definition | Data Field Type |\n|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|\n| type | Constant value \"Feature\". | string |\n| geometry.type | Constant value \"Point\". | string |\n| geometry.coordinates | The first element is the longitude of the place in degrees.The second element is the latitude of the place in degrees.If unknown, both longitude and latitude are 0. | array of float |\n| date | The last UTC date/time this contribution was created or modified in Java ISO_INSTANT (YYYY-MM-DDTHH:mm:ssZ) format. | date |\n| google_maps_url | The Google Maps URL to the place this contribution is for. | string |\n| location | Metadata about the place this contribution is for. | array of object |\n| location.address | The address of the place this contribution is for. | string |\n| location.country_code | The ISO 3166-1 alpha-2 country code of the place this contribution is for | string |\n| location.name | The name of the place this contribution is for. | string |\n[Exported Object: Starred places\nExported Object represents: Places which were starred as a favorite.\nObject is exported in these formats: GeoJSON\nExported object has the following fields:]\n\n| Data Field \\* | Field Definition | Data Field Type |\n|----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|\n| type | Constant value \"Feature\". | string |\n| geometry.type | Constant value \"Point\". | string |\n| geometry.coordinates | The first element is the longitude of the place in degrees.The second element is the latitude of the place in degrees.If unknown, both longitude and latitude are 0. | array of float |\n| date | The last UTC date/time this contribution was created or modified in Java ISO_INSTANT (YYYY-MM-DDTHH:mm:ssZ) format. | date |\n| five_star_rating_draft | The draft (as opposed to published) 1-5 rating given. | integer |\n| five_star_rating_published | The published (as opposed to draft) 1-5 rating given. | integer |\n| google_maps_url | The Google Maps URL to the place this contribution is for. | string |\n| location | Metadata about the place this contribution is for. | array of object |\n| location.address | The address of the place this contribution is for. | string |\n| location.country_code | The ISO 3166-1 alpha-2 country code of the place this contribution is for | string |\n| location.name | The name of the place this contribution is for. | string |\n| questions | The questions answered about the place. | array of object |\n| questions.question | The question asked. | string |\n| questions.selected_option | The selected answer for a multiple-choice question where a single choice is allowed. | string |\n| questions.selected_options | The selected answer for a multiple-choice question where more than one choice is allowed. | array of string |\n| questions.text_answer | The free-form answer given. | string |\n| questions.rating | The rating answer given. | integer |\n| review_text_draft | The draft (as opposed to published) text of the review. | string |\n| review_text_published | The published (as opposed to draft) text of the review. | string |\n[Exported Object: Reviews\nExported Object represents: Reviews (with or without text) left for a place.\nObject is exported in these formats: GeoJSON\nExported object has the following fields:]\n\n| Resource Group \\* | Description | Exported Objects |\n|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|------------------|\n| maps.reviews | This resource group contains the place reviews, ratings, and comments the user posted on Maps, plus associated metadata such as price levels. | Reviews |\n| maps.starred_places | This resource group contains places the user saved in their Starred places list on Maps. | Starred places |\n[A table representing Resource Groups and the objects that are exported with it.]"]]