What is geocoding? Use geocoding to display postcodes on a map

by Niharika Sisodia
on Nov 22, 2018 9:26:41 AM

Geocoding definition

Geocoding is the process of converting addresses (postcodes or street names) into coordinates (latitude and longitude). These coordinates can then be displayed on a map.

Geocoding is most commonly used on websites that need to allow visitors to interact with a map. The users might be searching for a point of interest, or for a particular route to a specific destination. In any case, they will need to enter a starting location into a search bar. This can be an exact postcode or location.

How does geocoding work?

The example below uses the TravelTime API to show how geocoding works. The geocoding service can be integrated into any service. Please check the documentation here. Geocoding with this API is free - get an API key here.

The user enters a location into the search bar. The example below shows a starting location of Islington, London.

what-is-gecoding

The geocoder then sends a geocoding request to convert the place name ‘Islington, London, England, United Kingdom’ into the corresponding geographic coordinates. The geocoder returns the response as a latitude and longitude, which can be displayed on a map.

what-is-gecoding

The user could then enter a destination. The example below shows the postcode: N1 2UN.

what-is-gecoding

Again the geocoder converts the postcode into coordinates. These coordinates are displayed on the map.

what-is-gecoding

The journey time can then be calculated between the two places and the route displayed for the user. It is also possible to reverse geocode. Reverse geocoding is translating coordinates into an address.

GET AN API KEY

To start using the free geocoder get a TravelTime API key.

Related

How to convert visitors into customers using map view

Improve your map UI. Perfect your website map view to streamline the user journey. Convert visitors to your site into customers for your product or service.

Niharika Sisodia Dec 18, 2018 3:30:14 PM
READ

How far can I travel in 15 minutes or 1 hour? This map shows you.

How far can I travel within a time limit? Make a map to show you where you can reach within a certain travel time. Change the mode of transport and time of day. Add up to three starting locations and filter the intersection between them.

Niharika Sisodia Nov 26, 2018 9:17:41 AM
READ

Create your own driving commute distance map in the USA & beyond

Create a commute distance map and drive time map. View potential areas to work on a commute distance map. Search by travel time instead of distance.

Niharika Sisodia Nov 14, 2018 1:45:13 PM
READ

How to calculate travel door to door with and without an API

Calculate travel door to door using the TravelTime platform. Use routing as a business solution. Calculate thousands of potential routes from your point of origin.

Niharika Sisodia Oct 31, 2018 9:23:02 AM
READ

Alternatives to the google driving distance matrix api

Cost effective alternative to the Google driving distance matrix API. Calculate driving times using the TravelTime Search API. Search from a single origin to 100,000 potential locations.

Niharika Sisodia Oct 3, 2018 11:17:58 AM
READ