장소 유형은 장소의 특징을 식별하는 카테고리입니다. 장소에는 하나 이상의 장소 유형이 할당될 수 있습니다.
장소의 유형은 장소 세부정보 (신규), 주변 지역 검색 (신규), 텍스트 검색 (신규), 자동 완성 (신규) 요청의 응답에 포함됩니다.
- 장소에는 유형 표 A 또는 유형 표 B의 단일 기본 유형이 연결될 수 있습니다.
예를 들어 기본 유형은
mexican_restaurant또는steak_house일 수 있습니다.장소의 기본 유형이 지원되는 유형이 아닌 경우 기본 유형이 누락될 수 있습니다. 기본 유형이 있으면 항상types필드의 유형 중 하나입니다. - 장소에는 유형 표 A 또는 유형 표 B의 여러 유형 값이 연결될 수 있습니다.
예를 들어 레스토랑에는
seafood_restaurant,restaurant,food,point_of_interest,establishment와 같은 유형이 있을 수 있습니다. - 장소의 주소와 주소 구성요소에는 주소 유형 및 주소 구성요소 유형 표의 특정 유형을 태그할 수 있습니다. 예를 들어 주소는
street_address로 태그가 지정되고 주소의 구성요소는street_number로 태그가 지정될 수 있습니다.
요청의 일부로 장소 유형을 지정할 수도 있습니다. 요청에 지정된 경우 유형은 지정된 유형과 일치하는 장소만 포함하도록 응답을 제한하는 필터 역할을 합니다.
유형 테이블 정보
표 A에는 지원되는 장소 유형 값이 나열됩니다.
- 장소 세부정보(신규), 주변 지역 검색(신규), 텍스트 검색(신규) 응답의 일부로. 그런 다음 표 A의 값이 이러한 필드를 채우는 데 사용됩니다.
- 주변 지역 검색(신규) 요청의 일부로,
includedTypes,excludedTypes,includedPrimaryTypes,excludedPrimaryTypes매개변수의 값으로 사용됩니다. 그런 다음 표 B의 값이 이러한 필드를 채우는 데 사용됩니다. - 텍스트 검색(신규) 요청의 일부로,
includedType매개변수의 값으로 사용됩니다. - Place Autocomplete Widget (신규) 요청의 일부로,
includedPrimaryTypes매개변수의 값으로 사용됩니다. - Place Autocomplete Widget (신규) 응답의 일부로.
표 B에는 장소 세부정보 (신규), 주변 지역 검색 (신규), 텍스트 검색 (신규), Place Autocomplete 위젯 (신규) 응답의 일부로 반환될 수도 있는 추가 장소 유형 값이 나열되어 있습니다. 요청은 필드 마스크에 places.types 또는 places.primaryType 필드 중 하나 이상을 지정해야 합니다.
표 B의 값은 Place Autocomplete Widget (신규) 요청의 includedPrimaryTypes 매개변수 값을 제외하고 요청의 일부로 사용할 수 없습니다.
주소 유형 및 주소 구성요소 유형은 응답 본문의 주소 유형 및 주소 구성요소 유형 배열 중 하나 또는 둘 다에 표시될 수 있는 유형을 나열합니다. 주소 구성요소 유형은 변경될 수 있습니다.
표 A
|
| 자동차 | ||
|---|---|---|
car_dealercar_rentalcar_repaircar_wash |
electric_vehicle_charging_stationgas_stationparkingrest_stop |
|
| 비즈니스 | ||
corporate_office *farmranch * |
||
| 문화 | ||
art_galleryart_studio *auditorium *cultural_landmark *historical_place * |
monument *museumperforming_arts_theatersculpture * |
|
| 교육 | ||
librarypreschoolprimary_school
|
schoolsecondary_schooluniversity
|
|
| 엔터테인먼트 및여가 | ||
adventure_sports_center *amphitheatre *amusement_centeramusement_parkaquariumbanquet_hallbarbecue_area *botanical_garden *bowling_alleycasinochildrens_camp *comedy_club *community_centerconcert_hall *convention_centercultural_centercycling_park *dance_hall *dog_parkevent_venue |
ferris_wheel *garden *hiking_area *historical_landmarkinternet_cafe *karaoke *marinamovie_rentalmovie_theaternational_parknight_clubobservation_deck *off_roading_area *opera_house *parkphilharmonic_hall *picnic_ground *planetarium *plaza *roller_coaster * |
skateboard_park *state_park *tourist_attractionvideo_arcade *visitor_centerwater_park *wedding_venuewildlife_park *wildlife_refuge *zoo
|
| 시설 | ||
public_bath *public_bathroom *stable *
|
||
| 금융 | ||
accountingatmbank
|
||
| 식음료 | ||
acai_shop *afghani_restaurant *african_restaurant *american_restaurantasian_restaurant *bagel_shop *bakerybarbar_and_grill *barbecue_restaurantbrazilian_restaurantbreakfast_restaurantbrunch_restaurantbuffet_restaurant *cafecafeteria *candy_store *cat_cafe *chinese_restaurantchocolate_factory *chocolate_shop *coffee_shopconfectionery * |
deli *dessert_restaurant *dessert_shop *diner *dog_cafe *donut_shop *fast_food_restaurantfine_dining_restaurant *food_court *french_restaurantgreek_restauranthamburger_restaurantice_cream_shopindian_restaurantindonesian_restaurantitalian_restaurantjapanese_restaurantjuice_shop *korean_restaurant *lebanese_restaurantmeal_deliverymeal_takeawaymediterranean_restaurant |
mexican_restaurantmiddle_eastern_restaurantpizza_restaurantpub *ramen_restaurantrestaurantsandwich_shopseafood_restaurantspanish_restaurantsteak_housesushi_restauranttea_house *thai_restaurantturkish_restaurantvegan_restaurantvegetarian_restaurantvietnamese_restaurantwine_bar *
|
| 지역 | ||
administrative_area_level_1administrative_area_level_2country
|
localitypostal_codeschool_district
|
|
| 정부 기관 | ||
city_hallcourthouseembassyfire_stationgovernment_office *
|
local_government_officeneighborhood_police_station (일본만 해당)policepost_office
|
|
| 건강 및 웰니스 | ||
chiropractor *dental_clinicdentistdoctordrugstorehospitalmassage *medical_lab *
|
pharmacyphysiotherapistsauna *skin_care_clinic *spatanning_studio *wellness_center *yoga_studio *
|
|
| 주택 | ||
apartment_building *apartment_complex *condominium_complex *housing_complex *
|
||
| 숙박시설 | ||
bed_and_breakfastbudget_japanese_inn *campgroundcamping_cabincottageextended_stay_hotelfarmstayguest_househostel *hotel * |
inn *japanese_inn *lodgingmobile_home_park *motelprivate_guest_roomresort_hotelrv_park
|
|
| 자연 지물 | ||
beach *
|
||
| 예배 장소 | ||
churchhindu_templemosquesynagogue
|
||
| 서비스 | ||
astrologer *barber_shopbeautician *beauty_salonbody_art_service *catering_service *cemeterychild_care_agencyconsultantcourier_serviceelectricianfloristfood_delivery *foot_care *funeral_homehair_carehair_saloninsurance_agencylaundry * |
lawyerlocksmithmakeup_artist *moving_companynail_salon *painterplumberpsychic *real_estate_agencyroofing_contractorstoragesummer_camp_organizer *tailortelecommunications_service_providertour_agency *tourist_information_center *travel_agencyveterinary_care
|
|
| 쇼핑 | ||
asian_grocery_store *auto_parts_storebicycle_storebook_storebutcher_shop *cell_phone_storeclothing_storeconvenience_storedepartment_storediscount_storeelectronics_storefood_store *furniture_storegift_shopgrocery_storehardware_storehome_goods_store
|
home_improvement_storejewelry_storeliquor_storemarketpet_storeshoe_storeshopping_mallsporting_goods_storestoresupermarketwarehouse_store *wholesaler
|
|
| 스포츠 | ||
arena *athletic_fieldfishing_charter *fishing_pond *fitness_centergolf_coursegymice_skating_rink * |
playground *ski_resortsports_activity_location *sports_clubsports_coaching *sports_complexstadiumswimming_pool
|
|
| 교통 | ||
airportairstrip *bus_stationbus_stopferry_terminalheliportinternational_airport *light_rail_station |
park_and_ride *subway_stationtaxi_standtrain_stationtransit_depottransit_stationtruck_stop
|
|
표 B
표 B의 장소 유형 값은 장소 세부정보 (신규), 주변 지역 검색 (신규), 텍스트 검색 (신규) 또는 자동 완성 (신규) 응답의 일부로 반환될 수 있습니다. 이러한 유형은 자동 완성 (신규) 요청의 includedPrimaryTypes에서도 지원됩니다.
| 추가 장소 유형 값 | ||
|---|---|---|
administrative_area_level_3administrative_area_level_4administrative_area_level_5administrative_area_level_6administrative_area_level_7archipelagocolloquial_areacontinentestablishmentfinancefoodgeneral_contractorgeocodehealthintersectionlandmarknatural_featureneighborhoodplace_of_worshipplus_code
|
point_of_interestpoliticalpostal_code_prefixpostal_code_suffixpostal_townpremiseroutestreet_addresssublocalitysublocality_level_1sublocality_level_2sublocality_level_3sublocality_level_4sublocality_level_5subpremisetown_square
|
|
주소 유형 및 주소 구성요소 유형
대답의 types 배열은 주소 유형을 나타냅니다. 주소 유형의 예로는 상세 주소, 국가 또는 정치적 독립체가 있습니다. google.maps.places.AddressComponent 클래스의 types 배열은 주소의 각 부분 유형을 나타냅니다. 예에는 번지 또는 국가가 포함됩니다.
주소에는 여러 유형이 있을 수 있습니다. 유형은 '태그'로 간주될 수도 있습니다.
예를 들어 많은 도시가 political 및 locality 유형으로 태그됩니다.
주소 유형과 주소 구성요소 유형 배열 모두에서 다음과 같은 유형이 지원되고 반환됩니다.
| 주소 유형 | 설명 |
|---|---|
street_address |
정확한 상세 주소입니다. |
route |
이름이 지정된 경로 (예: 'US 101') |
intersection |
주요 교차로(일반적으로 두 주요 도로의 교차로)입니다. |
political |
정치적 독립체입니다. 일반적으로 이 유형은 일부 정부 행정 구역의 폴리곤을 나타냅니다. |
country |
전국적인 정치적 독립체로, 일반적으로 지오코더에서 반환하는 순위가 가장 높은 유형입니다. |
administrative_area_level_1 |
국가 수준 아래 첫 번째 행정 독립체입니다. 미국 내에서, 이러한 행정 레벨은 주입니다. 모든 국가에 이러한 행정 구역 수준이 표시되지는 않습니다. 대부분의 경우 administrative_area_level_1 짧은 이름은 ISO 3166-2 하위 구역이나 기타 널리 보급된 목록들과 거의 일치하지만 지오코딩 결과는 다양한 신호와 위치 데이터를 기반으로 하기 때문에 이러한 일치가 보장되지는 않습니다. |
administrative_area_level_2 |
국가 수준 아래 두 번째 행정 독립체입니다. 미국 내에서, 이러한 행정 레벨은 카운티입니다. 모든 국가에 이러한 행정 구역 수준이 표시되지는 않습니다. |
administrative_area_level_3 |
국가 수준 아래 세 번째 행정 독립체입니다. 이 유형은 하위 행정 구역을 나타냅니다. 모든 국가에 이러한 행정 구역 수준이 표시되지는 않습니다. |
administrative_area_level_4 |
국가 수준 아래 네 번째 행정 독립체입니다. 이 유형은 하위 행정 구역을 나타냅니다. 모든 국가에 이러한 행정 구역 수준이 표시되지는 않습니다. |
administrative_area_level_5 |
국가 수준 아래 다섯 번째 행정 독립체입니다. 이 유형은 하위 행정 구역을 나타냅니다. 모든 국가에 이러한 행정 구역 수준이 표시되지는 않습니다. |
administrative_area_level_6 |
국가 수준 아래 여섯 번째 행정 독립체입니다. 이 유형은 하위 행정 구역을 나타냅니다. 모든 국가에 이러한 행정 구역 수준이 표시되지는 않습니다. |
administrative_area_level_7 |
국가 수준 아래 일곱 번째 행정 독립체입니다. 이 유형은 하위 행정 구역을 나타냅니다. 모든 국가에 이러한 행정 구역 수준이 표시되지는 않습니다. |
colloquial_area |
일반적으로 사용되는 독립체의 대체 이름입니다. |
locality |
도시 또는 마을로 통합된 정치적 독립체입니다. |
sublocality |
지역 아래 첫 번째 행정 독립체입니다. 일부 위치의 경우 추가 유형 중 하나(sublocality_level_1~sublocality_level_5)를 받을 수도 있습니다. 각 하위 지역 수준은 하나의 행정 독립체입니다. 숫자가 클수록 더 작은 지역을 나타냅니다. |
neighborhood |
이름이 지정된 동네입니다. |
premise |
이름이 지정된 위치, 일반적으로 공통된 이름을 가진 건물 또는 여러 건물입니다. |
subpremise |
아파트, 동/호수, 사무실 등 건물 수준 아래의 주소 지정이 가능한 항목입니다. |
plus_code |
위도와 경도에서 파생된 인코딩된 위치 참조입니다. Plus Code는 상세 주소가 없는 (건물에 번호가 지정되지 않거나 거리 이름이 없는) 장소의 상세 주소 대신 사용할 수 있습니다. 자세한 내용은 https://plus.codes를 참고하세요. |
postal_code |
국가 내에서 우편물을 보낼 때 사용되는 우편번호입니다. |
natural_feature |
유명한 자연 지형지물입니다. |
airport |
공항 |
park |
이름이 지정된 공원입니다. |
point_of_interest |
이름이 지정된 관심 장소입니다. 일반적으로 이러한 '관심 장소'는 '엠파이어 스테이트 빌딩' 또는 '에펠탑'과 같이 다른 카테고리에 쉽게 포함되지 않는 유명한 지역 항목입니다. |
빈 유형 목록은 예를 들어 프랑스의 리외디와 같이 특정한 주소 요소에 대해 알려진 유형이 없다는 것을 나타냅니다.
위의 유형 외에 아래에 나열된 유형이 주소 구성요소에 포함될 수도 있습니다.
| 주소 구성요소 유형 | 설명 |
|---|---|
floor |
건물 주소의 층입니다. |
establishment |
일반적으로 아직 분류되지 않은 장소입니다. |
landmark |
탐색을 돕기 위해 참조로 사용되는 주변 장소입니다. |
point_of_interest |
이름이 지정된 관심 장소입니다. |
parking |
주차장 또는 주차 시설 |
post_box |
특정 사서함입니다. |
postal_town |
일부 국가에서 우편 주소에 사용되는 locality 및 sublocality와 같은 지리적 영역의 그룹입니다. |
room |
건물 주소의 방입니다. |
street_number |
정확한 번지입니다. |
bus_station, train_station, transit_station |
버스, 기차 또는 대중교통 정류장의 위치입니다. |