Natural geocoding Find an address typed on one line
BeMap name: Natural geocoding
/geocoding/1.0/naturalTurns an address written as free text, the way a person types it, into its position on the map.
The whole description
In BeMap's words
Natural Geocoding is the process of converting textual postal address (1 line / free text) to a geographical longitude and latitude coordinates.
Natural Geocoding is the process of converting textual postal address (1 line / free text) to a geographical longitude and latitude coordinates.
400 with Access Denied.Request body
JSON, Content-Type: application/json. Schema GeocodingNaturalRequest.
naturalQuerystringrequiredThe free-textual postal address request.
geoserverstringGeoserver name.
swidxinteger (int32)deprecatedSwitch index.
boundingBoxBoundingBoxDefine a bounding box (in WGS84 format) to restrict the geocoding research.
assetSearchTypeenumDefine the search type of asset.
4 accepted values
OBJECTOBJECT. POIPOI. CITY_CENTERCITY_CENTER. ROADROAD. searchTypeenumDefines all the possible types of research that can be applied to a textual pattern.
6 accepted values
CONTAINSMeans that the pattern must be contained in the required strings. FUZZYMeans that the pattern will be used to perform a fuzzy search based on. the pattern. (Fuzzy searching can be useful when you are searching text that may contain misspelled words). KEY_SEARCHSpecifies a search on key ids. This criteria can be used for retrieving an item by its numerical key. STRICTMeans that the required string must be strictly equal to the pattern. STRICT_BEGINNINGMeans that the required strings must begin with the pattern. WORD_BEGINNINGMeans that one word of required strings must begin with the pattern (characters ' ', '-' and '/' are considered as word separators). maximumResultsinteger (int32)The maximum number of items used to perform the research and returned items by the server.
Also accepted as
maximunResult.languagestringDefine the language that will be used to perform the address lookup.
locIdEnablebooleanUsed by HERE HLP geo-server to define the location ID.
Response
200, schema GeocodingResponse.
Response fields
extentBoundingBoxDefine a bounding box (in WGS84 format) to restrict the geocoding research.
elementsGeocodingItem[]Define geocoding elements for a featured road.
GeocodingItem fields
boundingBoxBoundingBoxDefine a bounding box (in WGS84 format) to restrict the geocoding research.
coordinateCoordinateMatched coordinate on a road.
exactCoordinateCoordinateExact coordinate is a non map-matched coordinate on road.
distanceFromRequestnumber (double)Distance in meters between the request coordinate and the matched coordinate.
postalAddressAddressPostal address.
Address fields
countryCodestringISO code of country.
countrystringCountry name.
statestringState name.
countystringCounty name.
citystringCity name.
districtstringDistrict name of city.
postalCodestringPostal code.
roadNumberstringRoad number.
streetstringStreet name.
streetNumberstringHouse number.
oppositeStreetNumberstringdeprecatedOpposite street number.
oppositePostalAddressAddressOpposite postal address. Optional field, can be enable with option OPPOSITE_POSTAL_ADDRESS of OPPOSITE_POSTAL_ADDRESS_ALWAYS.
Address fields
countryCodestringISO code of country.
countrystringCountry name.
statestringState name.
countystringCounty name.
citystringCity name.
districtstringDistrict name of city.
postalCodestringPostal code.
roadNumberstringRoad number.
streetstringStreet name.
streetNumberstringHouse number.
oppositeStreetNumberstringdeprecatedOpposite street number.
postalAddressClassTypeenumPostal address.
177 accepted values
__NOT_MAPPEDNot mapped value. EARTH_SURFACEEarth surface. COUNTRYCountry. ORDRE_1_AREAState, Region, etc. ORDRE_2_AREAArea 2. ORDRE_3_AREAArea 3. ORDRE_4_AREAArea 4. ORDRE_5_AREAArea 5. ORDRE_6_AREAArea 6. ORDRE_7_AREADepartment, etc. ORDRE_8_AREACity. ORDRE_9_AREADistrict. POSTAL_DISTRICTPostal district. EXT_POSTAL_CODEExtended Digit Postal Code (ie 7-Digit PC on UK). ISLANDIsland. BUILT_UP_AREAUrban area, not an administrative area. BUILT_UP_AREA_2Secondary urban areas (not an administrative area). BUILT_UP_AREA_3Other urban areas (not an administrative area). LOW_EM_ZONELow Emission Zone (LEZ). LAND_USAGEParc/garden, industrial area, industrial harbour area. LAND_COVERAGEWoodland, moor/heathland, beach/dune/sand. WATER_ELEMENTOcean, sea, lac, river, etc. Main. WATER_ELEMENT_2Ocean, sea, lac, river, etc. Secondary. WATER_ELEMENT_3Ocean, sea, lac, river, etc. Third. WATER_ELEMENT_4Ocean, sea, lac, river, etc. Fourth. OTHER_AREASMilitary base, native american reserve, etc. AIRPORT_AREAAirport contour, ports. AIRCRAFT_ROADAircraft roads. BUILDINGBuilding contour. RAILWAY_ELEMENTRailway. ROAD_ELEMENT_MINMin value for road elements (Range : 4000 - 6899). ROAD_FOURTH_PEDESTRIANFourth - Pedestrian. ROAD_FOURTH_ROUNDABOUTFourth - Roundabout. ROAD_FOURTH_SLIPROADFourth - Slip road. ROAD_FOURTHSUNDAY. ROAD_FOURTH_MOTORWAYFourth - Motorway. ROAD_FOURTH_FERRYFourth - Ferry. ROAD_TERTIARY_PEDESTRIANTertiary - Pedestrian. ROAD_TERTIARY_ROUNDABOUTTertiary - Roundabout. ROAD_TERTIARY_SLIPROADTertiary - Slip road. ROAD_TERTIARYTertiary. ROAD_TERTIARY_MOTORWAYTertiary - Motorway. ROAD_TERTIARY_FERRYTertiary - Ferry. ROAD_SECONDARY_PEDESTRIANSecondary - Pedestrian. ROAD_SECONDARY_ROUNDABOUTSecondary - Roundabout. ROAD_SECONDARY_SLIPROADSecondary - Slip road. ROAD_SECONDARYSecondary. ROAD_SECONDARY_MOTORWAYSecondary - Motorway. ROAD_SECONDARY_FERRYSecondary - Ferry. ROAD_MAIN_PEDESTRIANMain - Pedestrian. ROAD_MAIN_ROUNDABOUTMain - Roundabout. ROAD_MAIN_SLIPROADMain - Slip road. ROAD_MAINMain Road. ROAD_MAIN_MOTORWAYMain - Motorway. ROAD_MAIN_FERRYMain - Ferry. ROAD_ELEMENT_MAXMax value for road elements (Range : 4000 - 6899). KB_ROUTE_CLASSClass for dynamic route forms. TRAFFIC_FLOWClass for dynamic traffic flow forms. UNDETAILED_MAIN_MOTORWAYDuplication of ROAD_MAIN_MOTORWAY for undetailed zoom level display. TOLL_SYSTEMToll Sys. TOLL_STRUCTUREToll Structures. TMC_LOCATIONClass of TMC locations. COMPLEX_RESTRICTIONComplex restriction (chained, time dependent, vehicle profile dependent) definitions for manoeuvres in road network. POINT_ADDRESSPoint Addresses. SIGN_POST_COLORSign Post colors for panels display. LANE_CONNECTIONLane to lane connections in road network. SIGN_POST_NUMBERSign post number (an exit number). RESTRICTIONRestriction definitions for manoeuvres in road network. JUNCTIONBorder nodes of road network. NODENodes of road network. CAPITALNational or regional capitals (cities). WORLD_CAPITALSWorld capitals (from world.svs file). POLICE_RADARPolice radars (Not contained in default SVS datasets). LANDMARKS_2D2D Landmarks. VEHICLE_REPAIRVehicle repair facility. PETROL_STATIONPetrol station. RENT_A_CARRent a car facility. PARKING_GARAGEParking garage. HOTEL_MOTELHotel or motel. RESTAURANTRestaurant. TOURIST_OFFICETourist office. MUSEUMTourist office. THEATRETheatre. CULTURAL_CENTRECultural centre. SPORTS_ACTIVITYSports activity. HOSPITALHospital polyclinic. POLICE_STATIONPolice station. CITY_HALLCity hall. POST_OFFICEPost office. PHARMACYPharmacy. BANKBank. SKI_RESORTSki resort. PANORAMIC_VIEWScenic / panoramic view. SWIMMING_POOLSwimming pool. WORSHIP_PLACEPlace of worship. FERRY_TERMINALFerry terminal. AIRLINE_ACCESSAirline access. CAMPING_GROUNDCamping ground. COMMUNITY_CENTRECommunity centre. EMBASSYEmbassy. FRONTIER_CROSSINGFrontier crossing. GOVERNMENT_OFFICEGovernment office. MOTORING_ORG_OFFICEMotoring organization office. OPEN_PARKING_AREAOpen parking area. RECREATION_FACILITYRecreation facility. SCHOOLSchool. SHOPPING_CENTREShopping centre. STADIUMStadium. TOURIST_ATTRACTIONTourist attraction. UNIVERSITYUniversity or college. BUSINESS_FACILITYBusiness facility. CITY_CENTERCity center. RAILWAY_STATIONRailway station. HAMLETHamlet. AIRPORTAirport. BUS_STATIONBus station. EXHIBITION_CENTERExhibition centre. PARK_AND_RIDEPark and ride. REST_AREARest area. KB_GOLF_COURSEGolf course. ATMATM. GROCERY_STOREGrocery store. LIBRARYLibrary. MARINAMarina. COMMUTER_RAIL_STATIONCommuter rail station. COURT_HOUSECourt house. HISTORICAL_MONUMENTHistorical monument. BOWLING_CENTREBowling centre. CASINOCasino. CINEMACinema. ICE_SKATING_RINKIce skating rink. NIGHTLIFENightlife. PUBLIC_SPORT_AIRPORTPublic sport airport. SPORTS_CENTRESports centre. WINERYWinery. AUTOMOBILE_DEALERSHPAutomobile/Motorcycle dealership. COMPANYCompany. BEACHBeach. SHOPShop. PARK_AND_RECREATION_AREAPark and recreation area. MOUNTAIN_PEAKMountain peak. OPERAOpera. CONCERT_HALLConcert hall. TENNIS_COURTTennis court. WATER_SPORTWater sport. MUSIC_CENTERMusic center. DOCTORDoctor. DENTISTDentist. VETERINARIANVeterinarian. CONVENTION_CENTERConvention center. LEISURE_CENTRELeisure centre. YACHT_BASINYacht basin. BAR_PUBBar/Pub. ENTERTAINMENTEntertainment. ABBEYAbbey. AMUSEMENT_PARKAmusement park. ARTS_CENTERArts center. BUILDING_FOOTPRINTBuilding footprint. CASTLECastle. CHURCHChurch. FORTRESSFortress. CAR_DEALERCar dealer. HOLIDAY_AREAHoliday area. LIGHTHOUSELighthouse. MILITARY_CEMETERYMilitary cemetery. MONASTERYMonastery. MONUMENTMonument. NATURAL_RESERVENatural reserve. PRISONPrison. ROCKSRocks. WALKING_AREAWalking area. WATER_MILLWater mill. WINDMILLWindmill. ZOOZoo. RENT_A_CAR_PARKINGRent-a-Car parking. MOUNTAIN_PASSMountain pass. HIGHLIGHT_CLASSHighlight. postalAddressClassIdinteger (int64)Postal address.
postalAddressExactStreeNumberbooleanIndicates if the location corresponds exactly to the required street number.
anglenumber (double)Angle.
administrativeSpeedLimitnumber (float)Speed limit.
relevanceScorenumber (double)Global matching error.
countryRelevanceScorenumber (double)Matching error of the country.
cityRelevanceScorenumber (double)Matching error of the city.
postalCodeRelevanceScorenumber (double)Matching error of the postal code (zip code).
streetRelevanceScorenumber (double)Matching error of the place.
streetNumberRelevanceScorenumber (double)Matching error of the house number (street number).
roadInfoRoadInfoRoad information.
RoadInfo fields
urbanbooleanUrban / not urban flag.
tunnelbooleanA flag that indicates if road is part of a tunnel or not.
bridgebooleanA flag that indicates if road is part of a bridge or not.
maxSpeedVerifiedbooleanMaximum speed verified flag (true: verified, false: calculated).
carPoolbooleanA flag that indicates if road is reserved to carpooling.
mainCategorybooleanA flag that enables discrimination within road's of a same FCC type (depends of map provider).
dualCarriagewayinteger (int32)A flag that indicates if road is part of a dual carriageway (e.g. with physical separation between opposite traffic sides).
noThroughTrinteger (int32)No through traffic restriction.
tollinteger (int32)Toll information.
taxinteger (int32)Indicates if road is submitted to a government tax (like German MAUT, etc). 0 means no tax, 1-3 defines the tax category (country dependent).
matchDirenumThe matching direction.
4 accepted values
CLOSE0 : Undefined matched direction and closed in both directions. OPEN_POS1 : open in positive direction. OPEN_NEG2 : open in negative direction. OPEN3 : Undefined matched direction and open in both directions. nbLanePosinteger (int32)Number of lanes in positive direction. 0 if traffic closed in positive direction or if lane information is not available.
nbLaneNeginteger (int32)Number of lanes in negative direction. 0 if traffic closed in negative direction or if lane information is not available.
pedestrianInfrastructureTypeenumEnum of pedestrian type.
11 accepted values
UNDEFINEDUndefined. ZONEPedestrian Zone. HIKINGHiking. UNPAVED_ROADUnpaved Road. ROUGH_ROADRough Road. CONDITION_ROADPoor Condition Road. STAIRSStairs. TUNNELTunnel. ELEVATORElevator. ESCALATOREscalator. FOOTBRIDGEFootbridge. maxSpeednumber (float)Speed limit in kph (0 if not available).
averageSpeednumber (float)Average speed in kph.
conditionalMaxSpeedsConditionalSpdLimit[]Optional conditional speed limit.
ConditionalSpdLimit fields
speednumber (float)requiredThe speed limit in kph.
typeenumrequiredCondition type.
9 accepted values
NONENo speed situation. HAZMATHazardous material. TRAILERTrailer. WEIGHTWeight. WEATHERWeather. VEHICLE_TYPEVehicle type. VEHICULE_TYPEVehicle type. Deprecated use VEHICLE_TYPE instead. SCHOOLSchool. ADVISORYAdvisory. valuestringrequiredCondition value (see HAZMAT, WEATHER, WEIGHT...)
lengthinteger (int32)Length in meters.
directionFlowenumThe direction of traffic flow per transportation modes (use CartoConst to access to corresponding mode in dirFlow).
4 accepted values
CLOSE0 : closed in both directions. OPEN_POS1 : open in positive direction. OPEN_NEG2 : open in negative direction. OPEN3 : open in both directions.
geoElementTypesenum[].
61 accepted values
ALL_ROADRoad types. PEDESTRIANROUNDABOUTSLIP_ROADROADMOTORWAYFERRYMAIN_ROADRoad levels. SECONDARY_ROADTERTIARY_ROADFOURTH_ROADCOUNTRYAdministrative. STATECOUNTYCITYDISTRICTPOSTAL_CODEBUILT_UP_AREA_NAUrban area information not available. BUILT_UP_AREA_NONENo urban area. BUILT_UP_AREA_MAINUrban area coverage size main, not an administrative area. BUILT_UP_AREA_MEDIUMUrban area coverage size medium (not an administrative area). BUILT_UP_AREA_SMALLUrban area coverage size small (not an administrative area). VEHICLE_REPAIRPOI. PETROL_STATIONRENT_A_CARPARKING_GARAGEHOTEL_MOTELRESTAURANTTOURIST_OFFICEMUSEUMTHEATRECULTURAL_CENTRESPORTS_ACTIVITYHOSPITALPOLICE_STATIONCITY_HALLPOST_OFFICEPHARMACYBANKCAMPINGSHOPPING_CENTRESTADIUMTOURIST_ATTRACTIONBUS_STATIONEXHIBITION_CENTERGOLF_COURSEGROCERY_STORELIBRARYMARINAHISTORICAL_MONUMENTBOWLINGCASINOCINEMASPORTS_CENTREBEACHSHOPOPERATENNIS_COURTMUSIC_CENTERAMUSEMENT_PARKZOOpolylineCoordinate[]Polyline.
segmentIdinteger (int64)Segment id.
trafficElementsTrafficItem[].
TrafficItem fields
infoTrafficElementInfoTraffic information of element.
TrafficElementInfo fields
idstringcountryCodestringcopyrightstringreleaseDatestring (date-time)lastUpdateDatestring (date-time)
elementIdstringElement ID.
reverseDirectionbooleanTrue for inverse road direction.
boundingBoxBoundingBoxBounding box of geometry in WGS84.
jamFactornumber (float)Percent (%) of traffic jam. Between 0.00 (free way) to 100.00 (full jam).
reasonenumTrafficReason.
10 accepted values
NANot available. CONGESTIONtraffic congestion (jam). CARRIAGEWAY_REDUCEDCarriage-way reduced. ACCIDENTAccident. INCIDENTIncident. INFORMATIONInformation. NON_RECOMMANDED_ROADNon re-commanded road. ROAD_CONDITION_DETERIORATEDRoad condition deteriorated. BLOCKED_ROADBlocked road. ROAD_UNDER_CONTRUCTIONRoad under construction. reasonCommentsTrafficResComment[]List of reason comments.
TrafficResComment fields
languagestringcommentstring
reasonCoordinateCoordinateCoordinate of the reason event.
polylineCoordinate[]Polyline.
segmentInfosTrafficSegInfo[]Segment Info.
TrafficSegInfo fields
idstringUnique identifier of road segment.
reverseDirectionbooleanThe route travel is in opposite way of geometry.
tmcInternalIdinteger (int64)AlertcTrafficElement.
alertcEbuCountryCodestringAlertcTrafficElement.
alertcTableIdinteger (int64)AlertcTrafficElement.
alertcLocationIdinteger (int64)AlertcTrafficElement.
alertcExtendinteger (int32)AlertcTrafficElement.
alertcCodeinteger (int32)AlertcTrafficElement.
openLrBase64stringOpenLrTrafficElement.
maximunResultinteger (int32)The maximum number of items used to perform the research and returned items by the server.
Errors
- 400 Bad Request,
ErrorResponse - 302 No credentials were sent. Do not follow the redirect.
- 401 The account or the API key is wrong.
How to read each one: Errors.