소개
장소 유형은 장소의 특성을 식별하는 카테고리입니다. 장소에는 하나 이상의 장소 유형이 할당될 수 있습니다.
장소 유형은 장소 세부정보(신규), 주변 지역 검색(신규), 텍스트 검색(신규), 자동 완성(신규) 요청의 응답에 포함됩니다.
- 장소에는 표 A 또는 표 B 유형의 단일 기본 유형이 연결될 수 있습니다.
예를 들어 기본 유형은
mexican_restaurant또는steak_house일 수 있습니다. 장소의 기본 유형이 지원되는 유형이 아닌 경우 기본 유형이 누락될 수 있습니다. 기본 유형이 있는 경우 항상types필드의 유형 중 하나입니다. - 장소에는 표 A 또는 표 B의 여러 유형 값이 연결될 수 있습니다.
예를 들어 레스토랑에는
seafood_restaurant,restaurant,food,point_of_interest,establishment와 같은 유형이 있을 수 있습니다. - 장소의 주소 및 주소 구성요소는 주소 유형 및 주소 구성요소 유형 표의 특정 유형으로 태그할 수 있습니다. 예를 들어 주소는
street_address로 태그가 지정되고 주소의 구성요소는street_number로 태그가 지정될 수 있습니다.
요청의 일부로 장소 유형을 지정할 수도 있습니다. 요청에 지정된 경우 유형은 지정된 유형과 일치하는 장소만 포함하도록 응답을 제한하는 필터 역할을 합니다.
유형 테이블 정보
표 A에는 다음과 같은 방식으로 사용되는 유형이 나열되어 있습니다.
- 장소 세부정보(신규), 주변 지역 검색(신규), 텍스트 검색(신규) 응답의 일부로. 요청은 필드 마스크에
places.types또는places.primaryType필드 중 하나 이상을 지정해야 합니다. 그런 다음 표 A의 값이 이러한 필드를 채우는 데 사용됩니다. - 주변 지역 검색(신규) 요청의 일부로,
includedTypes,excludedTypes,includedPrimaryTypes,excludedPrimaryTypes매개변수의 값으로 사용됩니다. 그런 다음 표 B의 값이 이러한 필드를 채우는 데 사용됩니다. - 텍스트 검색(신규) 요청의 일부로,
includedType매개변수의 값으로 사용됩니다. - Autocomplete(신규) 요청의 일부로,
includedPrimaryTypes매개변수의 값으로 사용됩니다. - Autocomplete(신규) 응답의 일부로 사용됩니다.
표 B에는 장소 세부정보(신규), 주변 지역 검색(신규), 텍스트 검색(신규), 자동 완성(신규) 응답의 일부로 반환될 수도 있는 추가 장소 유형 값이 나열되어 있습니다. 요청은 필드 마스크에 places.types 또는 places.primaryType 필드 중 하나 이상을 지정해야 합니다. 표 B의 값은 Autocomplete(신규) 요청의 includedPrimaryTypes 매개변수 값을 제외하고 요청의 일부로 사용할 수 없습니다.
표 C에는 Autocomplete(신규) 요청에서 includedPrimaryTypes 매개변수의 값으로 사용할 수 있는 유형 컬렉션이 나열되어 있습니다. 유형 컬렉션은 다른 유형 값으로 지정할 수 없습니다.
주소 유형 및 주소 구성요소 유형은 응답 본문의 주소 유형 및 주소 구성요소 유형 배열 중 하나 또는 둘 다에 표시될 수 있는 유형을 나열합니다. 주소 구성요소 유형은 변경될 수 있습니다.
테이블 A
| 자동차 | ||
|---|---|---|
car_dealercar_rentalcar_repaircar_washebike_charging_station *electric_vehicle_charging_stationgas_station |
parkingparking_garage *parking_lot *rest_stoptire_shop *truck_dealer * |
|
| 비즈니스 | ||
business_center *corporate_officecoworking_space *farmmanufacturer *ranchsupplier *television_studio * |
||
| 문화 | ||
art_galleryart_museum *art_studioauditoriumcastle *cultural_landmarkfountain *historical_placehistory_museum * |
monumentmuseumperforming_arts_theatersculpture |
|
| 교육 | ||
academic_department *educational_institution *librarypreschoolprimary_school |
research_institute *schoolsecondary_schooluniversity |
|
| 엔터테인먼트 및여가 | ||
adventure_sports_centeramphitheatreamusement_centeramusement_parkaquariumbanquet_hallbarbecue_areabotanical_gardenbowling_alleycasinochildrens_campcity_park *comedy_clubcommunity_centerconcert_hallconvention_centercultural_centercycling_parkdance_halldog_parkevent_venueferris_wheelgardengo_karting_venue * |
hiking_areahistorical_landmarkindoor_playground *internet_cafekaraokelive_music_venue *marinaminiature_golf_course *movie_rentalmovie_theaternational_parknight_clubobservation_deckoff_roading_areaopera_housepaintball_center *parkphilharmonic_hallpicnic_groundplanetariumplazaroller_coasterskateboard_parkstate_park |
tourist_attractionvideo_arcadevineyard *visitor_centerwater_parkwedding_venuewildlife_parkwildlife_refugezoo
|
| 시설 | ||
public_bathpublic_bathroomstable
|
||
| 금융 | ||
accountingatmbank
|
||
| 식음료 | ||
acai_shopafghani_restaurantafrican_restaurantamerican_restaurantargentinian_restaurant *asian_fusion_restaurant *asian_restaurantaustralian_restaurant *austrian_restaurant *bagel_shopbakerybangladeshi_restaurant *barbar_and_grillbarbecue_restaurantbasque_restaurant *bavarian_restaurant *beer_garden *belgian_restaurant *bistro *brazilian_restaurantbreakfast_restaurantbrewery *brewpub *british_restaurant *brunch_restaurantbuffet_restaurantburmese_restaurant *burrito_restaurant *cafecafeteriacajun_restaurant *cake_shop *californian_restaurant *cambodian_restaurant *candy_storecantonese_restaurant *caribbean_restaurant *cat_cafechicken_restaurant *chicken_wings_restaurant *chilean_restaurant *chinese_noodle_restaurant *chinese_restaurantchocolate_factorychocolate_shopcocktail_bar *coffee_roastery *coffee_shopcoffee_stand *colombian_restaurant *confectionerycroatian_restaurant *cuban_restaurant *czech_restaurant *danish_restaurant *deli |
dessert_restaurantdessert_shopdim_sum_restaurant *dinerdog_cafedonut_shopdumpling_restaurant *dutch_restaurant *eastern_european_restaurant *ethiopian_restaurant *european_restaurant *falafel_restaurant *family_restaurant *fast_food_restaurantfilipino_restaurant *fine_dining_restaurantfish_and_chips_restaurant *fondue_restaurant *food_courtfrench_restaurantfusion_restaurant *gastropub *german_restaurant *greek_restaurantgyro_restaurant *halal_restaurant* hamburger_restauranthawaiian_restaurant *hookah_bar *hot_dog_restaurant *hot_dog_stand *hot_pot_restaurant *hungarian_restaurant *ice_cream_shopindian_restaurantindonesian_restaurantirish_pub *irish_restaurant *israeli_restaurant *italian_restaurantjapanese_curry_restaurant *japanese_izakaya_restaurant *japanese_restaurantjuice_shopkebab_shop *korean_barbecue_restaurant *korean_restaurantlatin_american_restaurant *lebanese_restaurantlounge_bar *malaysian_restaurant *meal_deliverymeal_takeawaymediterranean_restaurantmexican_restaurantmiddle_eastern_restaurantmongolian_barbecue_restaurant * |
moroccan_restaurant *noodle_shop *north_indian_restaurant *oyster_bar_restaurant *pakistani_restaurant *pastry_shop *persian_restaurant *peruvian_restaurant *pizza_delivery *pizza_restaurantpolish_restaurant *portuguese_restaurant *pubramen_restaurantrestaurantromanian_restaurant *russian_restaurant *salad_shop *sandwich_shopscandinavian_restaurant *seafood_restaurantshawarma_restaurant *snack_bar *soul_food_restaurant *soup_restaurant *south_american_restaurant *south_indian_restaurant *southwestern_us_restaurant *spanish_restaurantsports_bar *sri_lankan_restaurant *steak_housesushi_restaurantswiss_restaurant *taco_restaurant *taiwanese_restaurant *tapas_restaurant *tea_housetex_mex_restaurant *thai_restauranttibetan_restaurant *tonkatsu_restaurant *turkish_restaurantukrainian_restaurant *vegan_restaurantvegetarian_restaurantvietnamese_restaurantwestern_restaurant *wine_barwinery *yakiniku_restaurant *yakitori_restaurant * |
| 지역 | ||
administrative_area_level_1administrative_area_level_2country
|
localitypostal_codeschool_district
|
|
| 정부 기관 | ||
city_hallcourthouseembassyfire_stationgovernment_office
|
local_government_officeneighborhood_police_station(일본만 해당)policepost_office
|
|
| 건강 및 웰니스 | ||
chiropractordental_clinicdentistdoctordrugstoregeneral_hospital *hospitalmassagemassage_spa *medical_center *medical_clinic *medical_lab
|
pharmacyphysiotherapistsaunaskin_care_clinicspatanning_studiowellness_centeryoga_studio
|
|
| 주택 | ||
apartment_buildingapartment_complexcondominium_complexhousing_complex
|
||
| 숙박시설 | ||
bed_and_breakfastbudget_japanese_inncampgroundcamping_cabincottageextended_stay_hotelfarmstayguest_househostelhotel |
innjapanese_innlodgingmobile_home_parkmotelprivate_guest_roomresort_hotelrv_park
|
|
| 자연 지물 | ||
beachisland *lake *mountain_peak *nature_preserve *river *scenic_spot *woods * |
||
| 예배 장소 | ||
buddhist_temple *churchhindu_templemosqueshinto_shrine *synagogue
|
||
| 서비스 | ||
aircraft_rental_service *association_or_organization *astrologerbarber_shopbeauticianbeauty_salonbody_art_servicecatering_servicecemeterychauffeur_service *child_care_agencyconsultantcourier_serviceelectricianemployment_agency *floristfood_deliveryfoot_carefuneral_homehair_carehair_saloninsurance_agencylaundrylawyerlocksmith |
makeup_artistmarketing_consultant *moving_companynail_salonnon_profit_organization *painterpet_boarding_service *pet_care *plumberpsychicreal_estate_agencyroofing_contractorservice *shipping_service *storagesummer_camp_organizertailortelecommunications_service_providertour_agencytourist_information_centertravel_agencyveterinary_care
|
|
| 쇼핑 | ||
asian_grocery_storeauto_parts_storebicycle_storebook_storebuilding_materials_store *butcher_shopcell_phone_storeclothing_storeconvenience_storecosmetics_store *department_storediscount_storediscount_supermarket *electronics_storefarmers_market *flea_market *food_storefurniture_storegarden_center *general_store *gift_shopgrocery_storehardware_storehealth_food_store *home_goods_store
|
home_improvement_storehypermarket *jewelry_storeliquor_storemarketpet_storeshoe_storeshopping_mallsporting_goods_storesportswear_store *storesupermarkettea_store *thrift_store *toy_store *warehouse_storewholesalerwomens_clothing_store * |
|
| 스포츠 | ||
arenaathletic_fieldfishing_charterfishing_pier *fishing_pondfitness_centergolf_coursegymice_skating_rinkindoor_golf_course * |
playgroundrace_course *ski_resortsports_activity_locationsports_clubsports_coachingsports_complexsports_school *stadiumswimming_pool *tennis_court * |
|
| 교통 | ||
airportairstripbike_sharing_station *bridge *bus_stationbus_stopferry_service *ferry_terminalheliportinternational_airportlight_rail_stationpark_and_ride |
subway_stationtaxi_service *taxi_standtoll_station *train_stationtrain_ticket_office *tram_stop *transit_depottransit_stationtransit_stop *transportation_service *truck_stop
|
|
표 B
표 B의 장소 유형 값은 장소 세부정보(신규), 주변 지역 검색(신규), 텍스트 검색(신규) 또는 자동 완성(신규) 응답의 일부로 반환될 수 있습니다. 이러한 유형은 Autocomplete(New) 요청에 대해 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
|
|
테이블 C
유형 모음은 Autocomplete(신규) 요청에서 includedPrimaryTypes 값으로 사용할 수 있습니다. 유형 컬렉션을 사용하면 연결된 포함된 유형과 일치하는 모든 결과가 반환됩니다. 유형 컬렉션은 다른 유형 값으로 지정할 수 없습니다.
| 서체 컬렉션 | 포함된 유형 |
|---|---|
(regions) |
주변 지역 및 우편번호와 같은 지역 또는 구역을 필터링합니다. |
(cities) |
Google에서 도시로 식별하는 장소를 필터링합니다. |
주소 유형 및 주소 구성요소 유형
응답의 types 배열은 주소 유형을 나타냅니다. 주소 유형의 예로는 상세 주소, 국가, 정치적 독립체가 있습니다. 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 |
버스, 기차 또는 대중교통 정류장의 위치입니다. |