PlaceCategory (API Reference)
Class PlaceCategory
Represents a category of place with different levels of granularity. This class also defines a set of most commonly used categories.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTop level category for places offering lodging accommodations, dwellings or similar living quarters to travellers, such as hotels, motels, resorts, cruise ships and campgrounds.static final StringA business that provides lodging or temporary living quarters.static final StringA business that provides lodging to the public generally without room service.static final StringTop level category for places that are owned, operated or managed by municipalities, such as cities, towns, villages, boroughs and shires.static final StringOutdoor areas or complexes with designations for specific businesses or interests.static final StringAreas and buildings designated for residential or office use.static final StringBusinesses that provide a service or product for use by other businesses.static final StringAn organization that provides consumer services for a variety of products for used by the public.static final StringTop level category for places that provide professional services to other businesses, such as printing, photocopying, graphic design, marketing, advertising and other general business services.static final StringA computer terminal that allows bank customers to deposit, withdraw, or transfer funds without the assistance of a bank teller.static final StringBusinesses that specialize in the maintenance, lending, exchange, or issuance of money.static final StringBusinesses that sell new automobiles and motorcycles.static final StringBusinesses that rent or lease automobiles.static final StringBusinesses that provide automotive repair services.static final StringBusinesses that provide communication services.static final StringBusinesses that provide recharging services for electric vehicles.static final StringBusinesses that sell fuel for vehicles, such as petrol, electricity etc.static final StringBusinesses that employ people in and around the city in which it is located.static final StringBusinesses that provide money related services.static final StringBusinesses that sell fuel, oil, and other motoring supplies.static final StringMunicipal emergency services.static final StringAn office or station that receives, sorts, dispatches and delivers mail to a specific area or region.static final StringBusinesses that provide a variety of information for visiting tourists, such as event schedules, lodging/accommodations, restaurants, attractions and more.static final StringBusiness that sell or service trucks and tractor trailers.static final StringTop level category for places where food or beverages are prepared or served.static final StringAn establishment that sells drinks, such as coffee and tea, as well as refreshments.static final StringAn establishment that prepares and serves refreshments and prepared meals.static final StringTop level category for places associated with specialized facilities, such as sports venues, government buildings, health care centers and other types of facilities.static final StringFacilities that are used for educational purposes including training, coaching, universities and more.static final StringAn area or facility used for the hosting of fairs and conventions.static final StringA Place where government services are provided.static final StringFacilities that include dental offices, hospitals, nursing homes and other health care-related services.static final StringFacilities that offer books, periodicals, audio, video and other material for public use.static final StringFacilities with miscellaneous uses such as Clubhouses, Offices, and Registration Offices.static final StringArea or building used for parking cars.static final StringEducational facilities that include primary schools, secondary schools and more.static final StringA facility used for individual and team sports including recreational sports.static final StringAn establishment that shows movies through screen projection.static final StringTop level category for places commonly associated with entertainment, such as bars, cinemas, theatres, casinos and night clubs.static final StringAn establishment that provides gambling entertainment.static final StringAn establishment that provides evening entertainment and usually serves alcoholic beverages.static final StringAn establishment where various types of performing arts are presented.static final StringTop level category for places that are designated for sports, recreation, parking, beaches and other leisure and outdoor activities.static final StringA park that contains rides and/or other entertainment which may be based on a central theme.static final StringPublic land preserved and maintained for recreational use.static final StringTop level category for natural or man-made areas of regional importance, such as bodies of water, mountains, forested areas and other geographic areas.static final StringA natural and geographical feature of the earth's surface that is covered with water, such as a lake, river, stream or ocean.static final StringA dense growth of trees, open uncultivated land or other large masses of vegetation.static final StringA natural and geographical feature that is higher than the surrounding land.static final StringA feature not classified as a Body of Water, Mountain or Hill, Undersea Feature, or Forest, Heath or Other Vegetation.static final StringA natural or artificial feature that is below sea level.static final StringTop level category for places where consumer goods are commonly sold, such as clothing stores, grocery stores, hardware stores and other types of shopping centers.static final StringA business that sells books, magazines and other reading material.static final StringA business that sells apparel items, garments or fashion accessories for men, women, and children.static final StringA business that sells a variety of products targeted to consumers.static final StringAn establishment that sells groceries, candy, toiletries, soft drinks, tobacco products, newspapers and other products.static final StringA business that sells a wide variety of merchandise that is organized by product or service departments.static final StringA business that sells medications, toiletry items and other retail cosmetics.static final StringA business that sells consumer electronics and electronic entertainment equipment.static final StringA business that sells specialty products of a particular type of food or beverage.static final StringA business that provides hair styling and personal appearance services.static final StringA business that sells crafts, gardening, remodeling, or decorating items for the home.static final StringA complex of businesses that are co-located and share common services.static final StringTop level category for places of special interest, such as common tourist attractions, museums and places of worship.static final StringDeprecated.Will be removed in v4.26.0.static final StringA designated area of special interest to tourists.static final StringAn establishment dedicated to the preservation and exhibition of artistic, historical, or scientific artifacts.static final StringAn establishment special religious significance or where religious services are held.static final StringTop level category for places commonly associated with pedestrian and cargo transport facilities, including airports, rail yards and seaports.static final StringA designated area that serves various aspects of aviation related sports, including gliders, recreational aircraft and model airplanes.static final StringA facility that handles some aspect of the transportation of cargo freight.static final StringA facility for travelers who are travelling between stops on public transport.static final StringAn establishment along a motorway (controlled access road) that provides restrooms and parking. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EAT_AND_DRINK
Top level category for places where food or beverages are prepared or served.
- See Also:
-
EAT_AND_DRINK_RESTAURANT
An establishment that prepares and serves refreshments and prepared meals.
- See Also:
-
EAT_AND_DRINK_COFFEE_TEA
An establishment that sells drinks, such as coffee and tea, as well as refreshments.
- See Also:
-
GOING_OUT_ENTERTAINMENT
Top level category for places commonly associated with entertainment, such as bars, cinemas, theatres, casinos and night clubs.
- See Also:
-
GOING_OUT_NIGHTLIFE
An establishment that provides evening entertainment and usually serves alcoholic beverages.
- See Also:
-
GOING_OUT_CINEMA
An establishment that shows movies through screen projection.
- See Also:
-
GOING_OUT_THEATRE_MUSIC_CULTURE
An establishment where various types of performing arts are presented.
- See Also:
-
GOING_OUT_GAMBLING_LOTTERY_BETTING
An establishment that provides gambling entertainment.
- See Also:
-
SIGHTS_AND_MUSEUMS
Top level category for places of special interest, such as common tourist attractions, museums and places of worship.
- See Also:
-
SIGHTS_LANDMARK_ATTACTION
Deprecated.Will be removed in v4.26.0. Please use SIGHTS_LANDMARK_ATTRACTION instead.
A designated area of special interest to tourists.
- See Also:
-
SIGHTS_LANDMARK_ATTRACTION
A designated area of special interest to tourists.
- See Also:
-
SIGHTS_MUSEUM
An establishment dedicated to the preservation and exhibition of artistic, historical, or scientific artifacts.
- See Also:
-
SIGHTS_RELIGIOUS_PLACE
An establishment special religious significance or where religious services are held.
- See Also:
-
NATURAL_AND_GEOGRAPHICAL
Top level category for natural or man-made areas of regional importance, such as bodies of water, mountains, forested areas and other geographic areas.
- See Also:
-
NATURAL_AND_GEOGRAPHICAL_BODY_OF_WATER
A natural and geographical feature of the earth's surface that is covered with water, such as a lake, river, stream or ocean.
- See Also:
-
NATURAL_AND_GEOGRAPHICAL_MOUNTAIN_OR_HILL
A natural and geographical feature that is higher than the surrounding land.
- See Also:
-
NATURAL_AND_GEOGRAPHICAL_UNDERSEA_FEATURE
A natural or artificial feature that is below sea level.
- See Also:
-
NATURAL_AND_GEOGRAPHICAL_FOREST_HEALTH_OTHER_VEGETATION
A dense growth of trees, open uncultivated land or other large masses of vegetation.
- See Also:
-
NATURAL_AND_GEOGRAPHICAL_OTHER
A feature not classified as a Body of Water, Mountain or Hill, Undersea Feature, or Forest, Heath or Other Vegetation.
- See Also:
-
TRANSPORT
Top level category for places commonly associated with pedestrian and cargo transport facilities, including airports, rail yards and seaports.
- See Also:
-
TRANSPORT_AIRPORT
A designated area that serves various aspects of aviation related sports, including gliders, recreational aircraft and model airplanes.
- See Also:
-
TRANSPORT_PUBLIC
A facility for travelers who are travelling between stops on public transport.
- See Also:
-
TRANSPORT_CARGO
A facility that handles some aspect of the transportation of cargo freight.
- See Also:
-
TRANSPORT_REST_AREA
An establishment along a motorway (controlled access road) that provides restrooms and parking.
- See Also:
-
ACCOMMODATION
Top level category for places offering lodging accommodations, dwellings or similar living quarters to travellers, such as hotels, motels, resorts, cruise ships and campgrounds.
- See Also:
-
ACCOMMODATION_HOTEL_MOTEL
A business that provides lodging or temporary living quarters.
- See Also:
-
ACCOMMODATION_LODGING
A business that provides lodging to the public generally without room service.
- See Also:
-
LEISURE_AND_OUTDOOR
Top level category for places that are designated for sports, recreation, parking, beaches and other leisure and outdoor activities.
- See Also:
-
LEISURE_OUTDOOR_RECREATION
Public land preserved and maintained for recreational use.
- See Also:
-
LEISURE_OTHER
A park that contains rides and/or other entertainment which may be based on a central theme.
- See Also:
-
SHOPPING
Top level category for places where consumer goods are commonly sold, such as clothing stores, grocery stores, hardware stores and other types of shopping centers.
- See Also:
-
SHOPPING_CONVENIENCE_STORE
An establishment that sells groceries, candy, toiletries, soft drinks, tobacco products, newspapers and other products.
- See Also:
-
SHOPPING_MALL_COMPLEX
A complex of businesses that are co-located and share common services.
- See Also:
-
SHOPPING_DEPARTMENT_STORE
A business that sells a wide variety of merchandise that is organized by product or service departments.
- See Also:
-
SHOPPING_FOOD_AND_DRINK
A business that sells specialty products of a particular type of food or beverage.
- See Also:
-
SHOPPING_DRUGSTORE_PHARMACY
A business that sells medications, toiletry items and other retail cosmetics.
- See Also:
-
SHOPPING_ELECTRONICS
A business that sells consumer electronics and electronic entertainment equipment.
- See Also:
-
SHOPPING_HARDWARE_HOUSE_GARDEN
A business that sells crafts, gardening, remodeling, or decorating items for the home.
- See Also:
-
SHOPPING_BOOKSTORE
A business that sells books, magazines and other reading material.
- See Also:
-
SHOPPING_CLOTHING_AND_ACCESORIES
A business that sells apparel items, garments or fashion accessories for men, women, and children.
- See Also:
-
SHOPPING_CONSUMER_GOODS
A business that sells a variety of products targeted to consumers.
- See Also:
-
SHOPPING_HAIR_AND_BEAUTY
A business that provides hair styling and personal appearance services. Places in this category may also sell hair products and other related cosmetic items.
- See Also:
-
BUSINESS_AND_SERVICES
Top level category for places that provide professional services to other businesses, such as printing, photocopying, graphic design, marketing, advertising and other general business services.
- See Also:
-
BUSINESS_AND_SERVICES_BANKING
Businesses that specialize in the maintenance, lending, exchange, or issuance of money.
- See Also:
-
BUSINESS_AND_SERVICES_ATM
A computer terminal that allows bank customers to deposit, withdraw, or transfer funds without the assistance of a bank teller.
- See Also:
-
BUSINESS_AND_SERVICES_MONEY_CASH
Businesses that provide money related services.
- See Also:
-
BUSINESS_AND_SERVICES_COMMUNICATION_MEDIA
Businesses that provide communication services.
- See Also:
-
BUSINESS_AND_COMMERCIAL_SERVICES
Businesses that provide a service or product for use by other businesses.
- See Also:
-
BUSINESS_AND_SERVICES_INDUSTRY
Businesses that employ people in and around the city in which it is located.
- See Also:
-
BUSINESS_AND_SERVICES_POLICE_FIRE_EMERGENCY
Municipal emergency services.
- See Also:
-
BUSINESS_AND_CONSUMER_SERVICES
An organization that provides consumer services for a variety of products for used by the public.
- See Also:
-
BUSINESS_AND_SERVICES_POST_OFFICE
An office or station that receives, sorts, dispatches and delivers mail to a specific area or region.
- See Also:
-
BUSINESS_AND_SERVICES_TOURIST_INFORMATION
Businesses that provide a variety of information for visiting tourists, such as event schedules, lodging/accommodations, restaurants, attractions and more.
- See Also:
-
BUSINESS_AND_SERVICES_FUELING_STATION
Businesses that sell fuel for vehicles, such as petrol, electricity etc.
- See Also:
-
BUSINESS_AND_SERVICES_PETROL_GASOLINE_STATION
Businesses that sell fuel, oil, and other motoring supplies.
- See Also:
-
BUSINESS_AND_SERVICES_EV_CHARGING_STATION
Businesses that provide recharging services for electric vehicles.
- See Also:
-
BUSINESS_AND_SERVICES_CAR_DEALER_SALES
Businesses that sell new automobiles and motorcycles.
- See Also:
-
BUSINESS_AND_SERVICES_CAR_REPAIR_SERVICES
Businesses that provide automotive repair services.
- See Also:
-
BUSINESS_AND_SERVICES_CAR_RENTAL
Businesses that rent or lease automobiles.
- See Also:
-
BUSINESS_AND_SERVICES_TRUCK_SEMI_DEALER
Business that sell or service trucks and tractor trailers.
- See Also:
-
FACILITIES
Top level category for places associated with specialized facilities, such as sports venues, government buildings, health care centers and other types of facilities.
- See Also:
-
FACILITIES_HOSPITAL_HEALTHCARE
Facilities that include dental offices, hospitals, nursing homes and other health care-related services.
- See Also:
-
FACILITIES_GOVERNMENT_COMMUNITTY
A Place where government services are provided.
- See Also:
-
FACILITIES_EDUCATION
Facilities that are used for educational purposes including training, coaching, universities and more.
- See Also:
-
FACILITIES_SCHOOL
Educational facilities that include primary schools, secondary schools and more.
- See Also:
-
FACILITIES_LIBRARY
Facilities that offer books, periodicals, audio, video and other material for public use.
- See Also:
-
FACILITIES_EVENT_SPACES
An area or facility used for the hosting of fairs and conventions.
- See Also:
-
FACILITIES_PARKING
Area or building used for parking cars.
- See Also:
-
FACILITIES_VENUE_SPORTS
A facility used for individual and team sports including recreational sports.
- See Also:
-
FACILITIES_OTHER
Facilities with miscellaneous uses such as Clubhouses, Offices, and Registration Offices.
- See Also:
-
AREAS_AND_BUILDINGS
Top level category for places that are owned, operated or managed by municipalities, such as cities, towns, villages, boroughs and shires.
- See Also:
-
AREAS_AND_BUILDINGS_OUTDOOR_COMPLEX
Outdoor areas or complexes with designations for specific businesses or interests.
- See Also:
-
AREAS_AND_BUILDINGS_RESIDENTAL_OFFICE
Areas and buildings designated for residential or office use.
- See Also:
-
-
Constructor Details
-
PlaceCategory
Creates a new instance of this class.
- Parameters:
id-Place category ID. The HERE places category system provides three levels of granularity:
- Level 1 represents high level groupings, such as "Eat and drink". Their IDs take the form "xxx", for example "100".
- Level 2 represents logical sub-groups or domains, such as "Eat and Drink / Restaurant". Their IDs take the form "xxx-xxxx", for example "100-1000".
- Level 3 provides the greatest level of granularity about place categorization,
such as "Eat and Drink / Restaurant / Casual Dining".
Their IDs take the form "xxx-xxxx-xxxx", for example "100-1000-0001".
The category ID can be provided as one of the predefined values, such as
EAT_AND_DRINK_RESTAURANTor as a literal string that matches one of the category IDs defined by the HERE Search service. Only level 1 and 2 category IDs are predefined. The complete list of supported category IDs, including level 3, can be found online: https://www.here.com/docs/bundle/geocoding-and-search-api-v7-api-reference/page/index.html.
-
-
Method Details
-
getId
Gets the place category ID.
- Returns:
Place category ID.
-
getName
Gets the localised place category name.
It is available only when when
PlaceCategoryis obtained fromPlace. That means that whenPlaceCategoryis constructed directly by the client,nameis alwaysnull.- Returns:
Localised place category name.
-