जगह के टाइप ऐसी कैटगरी होती हैं जिनसे किसी जगह की विशेषताओं के बारे में पता चलता है. किसी जगह को एक या उससे ज़्यादा तरह की जगह के तौर पर असाइन किया जा सकता है.
किसी जगह के टाइप, Place Details (नया), आस-पास की जगहों की जानकारी (नया), टेक्स्ट से खोजें (नया), और अपने-आप पूरा होने वाले सुझाव (नया) के अनुरोध के जवाब में शामिल होते हैं:
- किसी जगह के लिए, एक ही प्राइमरी टाइप हो सकता है. यह टाइप, टेबल 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पैरामीटर की वैल्यू के तौर पर इस्तेमाल करें. - जगह के नाम के शुरुआती अक्षर लिखने पर पूरा नाम सुझाने की सुविधा वाले विजेट (नया) के जवाब के तौर पर.
टेबल B में जगह के टाइप की अतिरिक्त वैल्यू दी गई हैं. इन्हें जगह की ज़्यादा जानकारी (नया), आस-पास की जगहों की जानकारी (नया), टेक्स्ट से खोजें (नया), और जगह के नाम अपने-आप पूरे होने की सुविधा वाला विजेट (नया) के जवाब के तौर पर भी दिखाया जा सकता है. अनुरोध में, फ़ील्ड मास्क में मौजूद places.types या places.primaryType फ़ील्ड में से कम से कम एक फ़ील्ड की जानकारी देना ज़रूरी है.
टेबल B में मौजूद वैल्यू का इस्तेमाल अनुरोध के हिस्से के तौर पर नहीं किया जा सकता. हालांकि, Place Autocomplete Widget (नया) के अनुरोध के लिए, 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_refugewinery *zoo
|
| सुविधाएं | ||
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 *painter<0A> pet_boarding_service *pet_care *plumberpsychicreal_estate_agencyroofing_contractorservice *shipping_service *storagesummer_camp_organizertailortelecommunications_service_providertour_agencytourist_information_centertravel_agency<0A> veterinary_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 * |
|
| परिवहन | ||
airportyakitori_restaurant *airstripbike_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 में मौजूद जगह के टाइप की वैल्यू, जगह की ज़्यादा जानकारी (नया), आस-पास की जगहों की जानकारी (नया), टेक्स्ट से खोजें (नया) या अपने-आप पूरा होने की सुविधा (नया) के जवाब के तौर पर दिखाई जा सकती हैं. ये टाइप, ऑटोकंप्लीट (नई) सुविधा के लिए 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 |
यह राष्ट्रीय राजनैतिक इकाई होती है. आम तौर पर, यह Geocoder से मिलने वाला सबसे बड़ा ऑर्डर टाइप होता है. |
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 |
अक्षांश और देशांतर से मिला, जगह का एन्कोड किया गया रेफ़रंस. प्लस कोड का इस्तेमाल, उन जगहों पर मोहल्ले के पतों की जगह किया जा सकता है जहां ये मौजूद नहीं हैं. जैसे, जहां बिल्डिंग के नंबर नहीं हैं या सड़कों के नाम नहीं हैं. ज़्यादा जानकारी के लिए, https://plus.codes देखें. |
postal_code |
देश में डाक भेजने के लिए इस्तेमाल किया जाने वाला पिन कोड. |
natural_feature |
एक प्रमुख प्राकृतिक जगह. |
airport |
हवाई अड्डा. |
park |
किसी पार्क का नाम. |
point_of_interest |
नाम वाली कोई लोकप्रिय जगह. आम तौर पर, ये "पीओआई" ऐसी स्थानीय इकाइयां होती हैं जिन्हें किसी दूसरी कैटगरी में आसानी से नहीं रखा जा सकता. जैसे, "एम्पायर स्टेट बिल्डिंग" या "एफ़िल टावर". |
टाइप की खाली सूची से पता चलता है कि पते के किसी कॉम्पोनेंट के लिए कोई टाइप मौजूद नहीं है. उदाहरण के लिए, फ़्रांस में Lieu-dit.
ऊपर दी गई जानकारी के अलावा, पते के कॉम्पोनेंट में यहां दिए गए टाइप भी शामिल हो सकते हैं.
| पते के कॉम्पोनेंट का टाइप | ब्यौरा |
|---|---|
floor |
इमारत के पते का फ़्लोर. |
establishment |
आम तौर पर, यह ऐसी जगह होती है जिसे अब तक किसी कैटगरी में नहीं रखा गया है. |
landmark |
आस-पास की कोई जगह, जिसका इस्तेमाल नेविगेशन में मदद पाने के लिए किया जाता है. |
point_of_interest |
नाम वाली कोई लोकप्रिय जगह. |
parking |
पार्किंग की जगह या पार्किंग की सुविधा. |
post_box |
कोई पोस्ट ऑफ़िस बॉक्स. |
postal_town |
यह भौगोलिक क्षेत्रों का ग्रुप होता है. जैसे, locality और sublocality. इसका इस्तेमाल कुछ देशों में डाक पते के लिए किया जाता है. |
room |
इमारत के पते में मौजूद कमरा. |
street_number |
सड़क का सटीक नंबर. |
bus_station, train_station, और transit_station |
बस, ट्रेन या सार्वजनिक परिवहन के स्टॉप की जगह. |