Geospatial Data & GIS

What Is Geocoding? How Addresses Become Map Coordinates

Geocoding converts addresses into geographic coordinates. Learn how address matching, reverse geocoding, location precision and quality checks work, and how geocoded records support GIS, POI data and location intelligence.

Conceptual address information card connected by an arrow to a highlighted building and location marker on a digital city map, illustrating the geocoding process.
Geocoding transforms descriptive address information into geographic coordinates that can be used for mapping, spatial analysis and location intelligence.

Geocoding is the process of converting a descriptive address into geographic coordinates, typically expressed as latitude and longitude. It allows locations described in text to be represented as geographic points that can be displayed on digital maps, integrated into geographic information systems (GIS), and used in spatial analysis.

For example, a business address containing a street number, street name, city, and postal code can be processed by a geocoding system to identify its corresponding geographic location.

The resulting coordinates allow analysts to calculate distances, identify administrative regions, associate businesses with building footprints, and integrate complementary geographic datasets.

Geocoding is particularly important for point of interest (POI) data, navigation, logistics, market research, urban planning, and location intelligence. However, successfully converting an address into coordinates does not necessarily mean that the resulting location is accurate.

Understanding how geocoding works, how locations are matched, and how positional uncertainty arises is essential for reliable geographic analysis.

What is geocoding?

Geocoding establishes a geographic relationship between descriptive location information and a spatial representation.

The United States Census Bureau's Geocoding Services documentation describes geocoding as a process that takes address information and returns actual or calculated geographic coordinates.

A typical geocoding input may contain several components:

  • Building or house number.
  • Street name.
  • Neighbourhood or locality.
  • City or municipality.
  • Administrative region.
  • Postal code.
  • Country.

The geocoding system compares these attributes with geographically referenced address information and attempts to identify the corresponding location.

When sufficiently detailed reference information is available, the resulting coordinates may represent a specific building or address point. When detailed information is unavailable, the system may return a broader or estimated location, such as a position along a street or the centre of a geographic area.

Geocoding therefore involves both information retrieval and geographic interpretation.

Forward geocoding versus reverse geocoding

Geocoding is commonly divided into two principal operations: forward geocoding and reverse geocoding.

Forward geocoding

Forward geocoding converts an address or other supported geographic description into coordinates.

For example, an organisation may have a spreadsheet containing the addresses of several thousand retail branches. A geocoding process can associate those addresses with geographic coordinates, allowing the branches to be displayed and analysed on a map.

Some geocoding systems also support named places and landmarks, although the distinction between address geocoding and place search varies between services.

Reverse geocoding

Reverse geocoding performs the opposite operation. It takes geographic coordinates and attempts to identify a corresponding address or geographic description.

For example, a mobile application may receive a user's geographic coordinates and use reverse geocoding to identify a nearby street or address.

The Nominatim reverse geocoding documentation explains an important limitation: its reverse geocoding operation retrieves address information from the nearest suitable indexed geographic object rather than independently determining an exact address for every possible coordinate.

This means that a reverse-geocoded address may occasionally correspond to a neighbouring building or street.

CharacteristicForward geocodingReverse geocoding

Input

Address or supported place description

Geographic coordinates

Output

Geographic coordinates

Address or geographic description

Primary purpose

Locate a described place

Describe a geographic position

Common application

Mapping business addresses

Displaying addresses from GPS locations

Potential error

Incorrect or approximate location

Incorrect or nearby address assignment

Forward and reverse geocoding are complementary operations, but they are not necessarily exact mathematical inverses. Converting an address into coordinates and subsequently reverse-geocoding those coordinates may produce a different address representation.

How does geocoding work?

The internal implementation of a geocoding system varies according to its reference datasets, matching algorithms, and geographic coverage.

Nevertheless, a typical address geocoding workflow contains several common stages.

1. Address parsing and standardisation

The original address is separated into meaningful components.

For example, the fictional address “140 Example St., Sample City” may be interpreted as a building number, street name, and locality.

Address standardisation may include expanding abbreviations, correcting supported spelling variations, identifying postal codes, and interpreting country-specific address conventions.

This stage helps reduce inconsistencies between the input address and the reference dataset.

However, standardisation should not silently replace uncertain information with unsupported address components.

2. Candidate location retrieval

The geocoding system searches its geographic reference database for potentially matching addresses or locations.

A search may return multiple candidates when streets have similar names, address information is incomplete, or the same place name occurs in several regions.

Additional geographic information, such as a country or postal code, can help narrow the search.

The Nominatim Search API documentation provides examples of both free-form geographic searches and structured queries containing separate address components.

3. Candidate matching and ranking

Potential matches are evaluated according to their agreement with the input information.

Relevant considerations may include street names, building numbers, postal codes, administrative regions, spelling similarity, and other available geographic attributes.

The highest-ranked candidate is not necessarily correct. A result may receive a favourable match score because its textual attributes are similar to the input while representing a different real-world location.

4. Geographic coordinate assignment

Once a suitable candidate has been identified, the geocoding system returns its associated geographic coordinates.

Depending on the available reference information, these coordinates may represent an address point, building, parcel, estimated street position, or broader geographic area.

5. Quality assessment

The returned result should be evaluated before being accepted into a production dataset.

This may involve reviewing match status, geographic consistency, location granularity, competing candidates, and available confidence indicators.

The original address and information about the geocoding method should be retained where permitted, allowing uncertain results to be reviewed later.

What geographic information does a geocoded record contain?

Geocoding results can contain more information than latitude and longitude alone.

A useful output schema may include the matched address, geographic identifiers, location type, match status, and information about the reference data.

The following table presents a hypothetical geocoded record.

AttributeIllustrative value

Record identifier

P001

Original address

140 Example Street, Sample City

Matched address

140 Example Street, Sample City

Latitude

10.123456°

Longitude

20.123456°

Coordinate reference

WGS 84

Match status

Matched

Location type

Street interpolation

Match confidence

Unavailable

Geocoding date

2026-12-01

The address, coordinates, and output values are synthetic and are not intended to identify a real establishment.

The distinction between matched status and location type is particularly important. A record can successfully match an address while receiving an approximate geographic position.

Understanding geocoding accuracy and location types

Not every geocoded coordinate represents the same level of geographic detail.

A system may locate a specific address accurately or return an estimated position when more detailed reference information is unavailable.

The Google Geocoding API documentation, for example, distinguishes several location types, including rooftop-level geocodes, interpolated street locations, geometric centres, and approximate results.

The following table describes common geocoding location types in general terms. Individual providers may use different definitions and terminology.

Location typeGeographic representationImportant limitation

Address point

Reference location associated with a specific address

May not identify the actual entrance

Rooftop-level geocode

Detailed street-address-level location

Does not independently guarantee exact building placement

Parcel or building centre

Representative position within a geographic feature

May differ from the destination entrance

Street interpolation

Estimated position along an address range

Depends on address numbering assumptions

Street centre

Representative location of a street or segment

May be far from the intended building

Postal or locality centre

Representative point within a broader area

Usually unsuitable for precise establishment-level analysis

The appropriate location type depends on the intended application.

A postal-area centre may be adequate for broad regional statistics but unsuitable for identifying the specific building occupied by a pharmacy.

Similarly, a building-level coordinate may be sufficient for market analysis but less useful for delivery routing if it does not represent an accessible entrance.

How street address interpolation works

Street address interpolation estimates a location along a geographically referenced street segment using its known address range.

The United States Census Bureau's geocoding documentation describes an implementation in which geographic coordinates are calculated along address ranges.

Consider a simplified hypothetical street segment measuring 200 metres, with an even-numbered address range extending from 100 to 200.

An analyst wants to estimate the location of address number 140.

The relative position can be calculated as:

Relative position = (140 − 100) / (200 − 100) = 0.40

The estimated distance from the beginning of the reference segment is therefore:

Estimated distance = 0.40 × 200 metres = 80 metres

Address numberRelative positionEstimated distance

100

0%

0 m

120

20%

40 m

140

40%

80 m

160

60%

120 m

180

80%

160 m

200

100%

200 m

All values are hypothetical. The example assumes a uniform progression of address numbers along a single street segment.

In reality, buildings are not necessarily distributed evenly along streets. Address numbering may contain gaps, irregular sequences, and differences between opposite sides of a road.

An interpolated location is therefore an estimate rather than a direct observation of a building or entrance.

Hypothetical 200-metre street segment with addresses ranging from 100 to 200, showing address number 140 at an estimated position 80 metres from the beginning of the segment.
Street address interpolation estimates a location along a geographically referenced street segment. This hypothetical example assumes a uniform progression of address numbers and does not represent a directly surveyed building entrance.

Geocoding versus GPS positioning

Geocoding and GPS positioning both produce geographic coordinates, but they obtain those coordinates through different mechanisms.

GPS positioning uses satellite signals to estimate the physical location of a receiving device.

Geocoding identifies a geographic location by matching descriptive information against reference data.

CharacteristicGeocodingGPS positioning

Primary input

Address or place description

Satellite navigation signals

Coordinate origin

Geographic reference database

Estimated device position

Physical presence required

No

A receiver must be at the measured location

Common error source

Incorrect address match or reference location

Signal obstruction, atmospheric effects or receiver limitations

Typical application

Converting business addresses into map points

Field surveys and navigation

GPS observations can provide reference information for evaluating geocoding accuracy, provided their own uncertainty is considered.

Neither method automatically guarantees an error-free geographic position.

Coordinate precision is not positional accuracy

Geocoded coordinates are commonly represented using decimal degrees.

A latitude or longitude value containing many decimal places may appear highly precise, but numerical precision should not be confused with geographic accuracy.

For example, a coordinate may be stored to six decimal places even though its location was estimated from a broad street segment.

Adding more decimal places does not improve the quality of the underlying geographic observation.

Coordinate order is another important consideration. Some systems represent coordinates as latitude followed by longitude, whereas geographic data formats may use a different convention.

The GeoJSON specification, RFC 7946, requires geographic coordinate positions to use longitude followed by latitude, expressed in decimal degrees using the WGS 84 geographic reference system.

Incorrect coordinate ordering can place a location far from its intended geographic position.

Geospatial workflows should therefore preserve coordinate reference information and verify the coordinate order expected by each software interface or file format.

What is batch geocoding?

Batch geocoding processes multiple addresses within a common workflow.

Instead of manually searching for every establishment, organisations can submit structured address records to a geocoding service or process them using a locally deployed geocoding system.

Batch geocoding is useful for national business inventories, customer address databases, public facility records, and large-scale POI data preparation.

A reliable batch workflow should preserve unique record identifiers, track unsuccessful matches, manage ambiguous results, and retain the method used to assign coordinates.

It should also account for service limitations.

For example, the OpenStreetMap Foundation's public Nominatim usage policy restricts heavy use of its publicly hosted service and imposes specific requirements for bulk requests.

The availability of an open-source geocoding system does not imply unrestricted access to a publicly operated geocoding server.

Large-scale processing may require a self-hosted system or an appropriately licensed commercial service.

How to measure geocoding quality

Geocoding performance should not be evaluated using match rate alone.

A high proportion of successfully matched addresses may conceal incorrect matches, low-detail geographic assignments, or substantial positional errors.

Several complementary quality indicators can provide a more useful assessment.

Quality metricWhat it measures

Match rate

Proportion of submitted records receiving an accepted geographic result

Correct-match rate

Proportion of evaluated matches identifying the intended address or entity

Positional error

Geographic distance between a geocoded point and an appropriate reference point

Median positional error

Middle error value among evaluated points

90th-percentile error

Error threshold below which approximately 90% of evaluated observations fall

Location-type distribution

Proportion of results assigned at different geographic detail levels

Unresolved rate

Proportion of records without a definitive matching outcome

These indicators represent a practical evaluation framework rather than a universal mandatory geocoding standard.

Positional errors should be calculated using a suitable projected coordinate reference system or an appropriate geodesic distance method.

The PostGIS ST_Distance documentation illustrates the distinction between planar distance calculations for geometry objects and geodesic distance calculations for geographic objects.

A hypothetical geocoding quality assessment

Suppose 1,000 business addresses are submitted to a geocoding system. Of these, 900 receive accepted geographic results.

An independent random sample of 200 matched records is subsequently evaluated against suitable reference information.

Evaluation indicatorResult

Submitted addresses

1,000

Accepted geocoding results

900

Unmatched addresses

100

Overall match rate

90%

Independently evaluated matches

200

Correctly identified addresses

180

Incorrectly identified addresses

20

Correct-match rate in evaluated sample

90%

All values are hypothetical and do not represent measured performance from a particular geocoding provider.

The system successfully produces coordinates for 90% of the submitted addresses. However, only 90% of the independently evaluated matches correspond to the intended addresses.

If the evaluated sample is representative of all accepted results, the estimated proportion of submitted addresses that are correctly matched is approximately:

0.90 × 0.90 × 100 = 81%

This is a sample-based estimate rather than a complete verification of all 1,000 submitted addresses.

The example demonstrates why match rate and match correctness should be reported separately. Even correctly matched addresses may still contain positional errors.

Why geocoding matters for POI data

Point of interest datasets associate identifiable real-world places with geographic coordinates and descriptive attributes.

Geocoding can help establish the location of businesses and facilities when their original records contain addresses but lack reliable coordinates.

It is one of several methods used to create geographic place records, alongside field surveys, direct geographic observations, community mapping, and data integration.

Gridatum's guide to POI data enrichment explains how existing place records can be combined with complementary geographic information to support more detailed analysis.

Reliable geographic coordinates are particularly important because many enrichment operations depend on the recorded location of each POI.

Administrative boundary assignment

A geocoded POI can be associated with its country, province, district, or other administrative region using spatial relationship tests.

However, a relatively small coordinate error can change the administrative assignment of a location near a shared boundary.

For example, a hypothetical business located 15 metres inside District A could be incorrectly assigned to District B if its geocoded position is displaced 30 metres across the boundary.

Two hypothetical administrative districts separated by a boundary, showing a reference location in District A and an incorrectly geocoded location displaced 30 metres into District B.
Even a relatively small geocoding error can change the administrative membership of a point of interest located near a geographic boundary. This conceptual example illustrates a hypothetical positional displacement of 30 metres.

The total number of POIs would remain unchanged, but the geographic distribution of those records could become inaccurate.

H3 spatial indexing

Geocoded coordinates can also be associated with hierarchical geographic cells using H3 spatial indexing.

Incorrect coordinates may assign an establishment to a neighbouring cell, particularly at finer resolutions.

A smaller spatial cell does not correct an inaccurate geographic position.

Building footprint association

Geocoding quality influences whether a POI can be associated with the appropriate building polygon.

A street-interpolated coordinate may fall on a road rather than inside the building occupied by an establishment.

Conversely, a building-level coordinate may identify a shared commercial structure containing several independent businesses.

A successful geographic match therefore does not independently establish which part of a building an establishment occupies.

Geographic context and enrichment

Population rasters, nighttime lights, transportation networks, and other datasets can be associated with a POI using its geographic coordinates.

An incorrectly geocoded location may receive contextual attributes from an unrelated geographic area.

These errors can propagate into subsequent location intelligence and statistical modelling.

What are the practical applications of geocoding?

Geocoding provides a foundation for many location-based applications.

In retail site selection, businesses can map competitors and potential commercial locations before evaluating surrounding population and accessibility.

In logistics, geocoding helps convert customer addresses into geographic destinations for route planning. However, routing may require entrance-level locations or suitable road network access points rather than general building coordinates.

In public service analysis, geocoded hospitals, schools, and government facilities can be combined with population and transportation data to investigate geographic service availability.

In geographic information systems, address-based records can be transformed into spatial datasets suitable for mapping, spatial joins, proximity calculations, and geographic aggregation.

The usefulness of these applications depends on whether the geocoded coordinates provide sufficient geographic accuracy for the intended decisions.

Common geocoding errors and limitations

Geocoding systems depend on both input address quality and the quality of their geographic reference information.

Incomplete addresses, spelling variations, multilingual place names, outdated street records, and duplicate locality names can produce ambiguous or incorrect results.

Reference data availability may also differ between countries, urban and rural environments, and formal and informal settlements.

Additional challenges include newly constructed buildings, address changes, establishments without conventional postal addresses, and facilities occupying several buildings.

Geocoding should also be distinguished from place validity assessment.

A correctly geocoded address does not prove that a particular business currently operates at that location. The business may have closed, relocated, or changed its identity.

Gridatum's article on POI validity and how it is measured discusses why existence, operating status, and positional accuracy require separate evaluation.

When geocoding personal or customer addresses, organisations should also consider privacy, data minimisation, and the applicable conditions governing the transmission and storage of address information.

Best practices for reliable geocoding

A reliable geocoding workflow begins with sufficiently complete and standardised address information.

The original address should remain distinguishable from the matched address. Returned coordinates should be accompanied by available information about location type, reference source, and match quality.

Unmatched or ambiguous records should be retained for further investigation rather than automatically assigned unsupported locations.

Quality assessment should use independently reviewed samples representing the relevant geographic areas and address types.

Finally, acceptance criteria should reflect the intended application. A geocode suitable for regional business statistics may be unsuitable for identifying a building entrance or conducting precise proximity analysis.

The objective is not simply to maximise the number of successfully geocoded records, but to obtain geographic positions that are sufficiently reliable for their intended use.

Frequently asked questions

Is geocoding the same as reverse geocoding?

No. Forward geocoding converts address information into geographic coordinates. Reverse geocoding converts coordinates into an associated geographic description.

Can geocoding work without a complete address?

Sometimes. A system may identify a location using partial address information or a supported place name. However, incomplete input can increase ambiguity and reduce geographic detail.

Does a successful geocoding result guarantee an accurate location?

No. A successful result may represent an incorrect address, interpolated street position, or approximate geographic area.

Is geocoding free?

Some geocoding tools are open source, and some services offer limited free access. Commercial services may charge according to request volume or usage. Licensing, hosting costs, and service restrictions should be evaluated separately.

Can geocoding verify whether a business exists?

Not independently. Geocoding can identify an address or geographic location, but business existence and operating status require additional evidence.

Conclusion

Geocoding transforms descriptive address information into geographic coordinates that can support mapping, spatial analysis, POI data preparation, and location intelligence.

Its reliability depends on input information, geographic reference coverage, matching methods, location granularity, and quality assessment procedures.

Forward geocoding, reverse geocoding, and batch geocoding support different operational requirements, while positional accuracy and match correctness determine whether their outputs are suitable for particular applications.

Reliable geospatial analysis requires more than obtaining coordinates. It requires understanding what those coordinates represent, how they were produced, and how their uncertainty can affect subsequent geographic decisions.

References