Geospatial Data & GIS

Administrative Boundaries vs. H3 Spatial Indexing

Administrative boundaries organise places by jurisdiction, while H3 indexes locations into hierarchical geographic cells. Compare their uses, limitations and how combining both supports POI filtering, spatial aggregation and location intelligence.

Two identical conceptual city maps showing the same points of interest organised into irregular administrative regions on the left and a regular hexagonal spatial grid on the right.
Administrative boundaries and H3 spatial indexing provide complementary geographic structures for organising the same location data according to territorial jurisdictions and spatial cells.

Administrative boundaries and H3 spatial indexing are two different approaches to organising geospatial data. Administrative boundaries divide geographic areas according to territorial jurisdictions, such as countries, provinces, and districts. H3 divides Earth's surface into hierarchical geographic cells that are defined independently of administrative jurisdictions.

Administrative boundaries are particularly useful for regional reporting, geographic data selection, and integration with official statistics. H3 is particularly useful for spatial aggregation, neighbourhood analysis, and geographic comparisons that require a consistent indexing framework across different regions.

For point of interest (POI) datasets, these two approaches are complementary rather than mutually exclusive. A single POI can be associated with both administrative identifiers and an H3 cell identifier while retaining its original geographic coordinates.

Understanding when to use each structure is essential for reliable geographic filtering, spatial analysis, and location intelligence.

What are administrative boundaries?

Administrative boundaries represent the geographic extent of territorial units associated with governmental or administrative structures.

In international geospatial datasets, these areas are commonly organised into hierarchical levels.

Administrative levelGeneral definitionCommon examples

ADM0

National-level geographic unit

Country or separately represented territory

ADM1

First-level administrative subdivision

Province, state, region

ADM2

Second-level administrative subdivision

District, county, regency

ADM3 and below

Further administrative subdivisions

Municipality, subdistrict, village

These definitions are general conventions. The exact meaning and availability of each administrative level vary between countries and boundary providers.

The World Bank Official Boundaries dataset provides an example of a global geographic framework covering ADM0, ADM1, and ADM2.

Administrative polygons allow analysts to associate geographic records with recognised territorial areas. They also provide a framework for integrating information published by governments, statistical agencies, and other organisations.

However, administrative regions can vary substantially in geographic size, population, shape, and institutional responsibilities. Two ADM2 regions in different countries are not necessarily comparable geographic units.

What is H3 spatial indexing?

H3 is an open-source hierarchical geospatial indexing system that partitions Earth's surface into predominantly hexagonal cells.

Each cell has a unique identifier associated with a particular spatial resolution. Geographic coordinates can be converted into cell identifiers using the H3 library.

Unlike administrative boundaries, H3 cells are generated algorithmically and do not depend on political borders, governmental jurisdictions, or local administrative systems.

H3 supports 16 resolution levels, ranging from resolution 0 to resolution 15. Higher resolution numbers correspond to smaller geographic cells.

The following table presents selected resolutions relevant to regional and local geographic analysis.

H3 resolutionAverage hexagonal cell area

5

252.90 km²

6

36.13 km²

7

5.16 km²

8

0.7373 km²

9

0.1053 km²

10

0.0150 km²

11

0.00215 km²

Source: Official H3 version 4.x cell statistics. Values represent rounded global average hexagon areas and exclude pentagons.

Although H3 provides a consistent resolution framework, it is not an equal-area grid. Individual cell areas vary according to their geographic position.

Administrative boundaries vs. H3: key differences

The principal distinction between administrative boundaries and H3 is the basis on which their geographic units are defined.

Administrative boundaries represent territorial divisions. H3 represents algorithmically generated spatial cells.

CharacteristicAdministrative boundariesH3 spatial indexing

Geographic definition

Territorial jurisdictions

Algorithmically defined cells

Geometry

Irregular polygons and multipolygons

Predominantly hexagonal cells

Hierarchy

Country-specific administrative levels

Standardised resolutions 0–15

Geographic area

Highly variable

More consistent in scale at a given resolution, but not equal-area

Political alignment

Follows selected territorial definitions

Independent of political borders

Geographic identifiers

Administrative or provider-specific codes

H3 cell identifiers

Neighbourhood analysis

Requires polygon relationships or additional analysis

Supports grid-based traversal

Temporal changes

Boundaries and identifiers may change

Cell definitions are independent of administrative reforms

Main applications

Regional selection and official reporting

Spatial aggregation and geographic pattern analysis

Sources: World Bank administrative boundary documentation and H3 technical documentation.

Neither structure is universally superior. Their suitability depends on whether an application requires territorial membership, a consistent spatial framework, or both.

Why administrative regions are difficult to compare internationally

Administrative levels describe positions within national territorial hierarchies rather than standard geographic sizes.

A district in one country may cover a densely populated urban area, while a district at the same nominal administrative level in another country may contain extensive rural territory.

Consider two hypothetical ADM2 regions.

IndicatorDistrict ADistrict B

Geographic area

20 km²

100 km²

Number of POIs

400

800

POI density

20/km²

8/km²

District B contains twice as many establishments as District A. However, District A has 2.5 times the concentration of establishments per square kilometre.

All figures are hypothetical.

This example demonstrates why comparisons based exclusively on administrative totals can be misleading when geographic areas differ substantially.

H3 provides an alternative framework for conducting comparisons at a more consistent spatial scale.

However, H3 does not eliminate the need to calculate individual cell areas, account for population differences, or evaluate the completeness of the underlying POI inventory.

How geographic assignment differs between the two systems

Administrative assignment and H3 indexing use different spatial operations.

Assigning a POI to an administrative region

Administrative assignment commonly involves comparing a POI's coordinates with boundary polygons through a point-in-polygon operation.

For example, a supermarket may be assigned to its national territory, province, and district.

Spatial functions such as PostGIS ST_Covers can identify whether a point lies within a polygon or on its boundary.

Points located on shared boundaries may match more than one administrative polygon. Overlapping geometries, incomplete coverage, and coordinate uncertainty may also produce ambiguous assignments.

These cases require documented handling rules rather than arbitrary geographic classifications.

Assigning a POI to an H3 cell

H3 indexing converts a geographic coordinate into the identifier of its containing cell at a selected resolution.

The H3 indexing functions provide operations for converting coordinates into cell identifiers and retrieving the corresponding geographic cell boundaries.

For a given valid coordinate and resolution, the indexing operation produces a cell assignment without requiring an administrative boundary dataset.

The resulting identifier represents a geographic area, not an individual establishment.

Several distinct POIs can share the same H3 identifier.

Why the two assignments are independent

A POI belongs to an H3 cell according to the cell's geometric definition. Its administrative membership depends on the territorial polygons used by the selected boundary dataset.

Because the two structures are defined independently, an H3 cell can intersect several administrative regions.

Knowing an establishment's H3 identifier does not necessarily establish its administrative membership.

Can H3 accurately represent administrative boundaries?

H3 can approximate administrative regions by converting their polygon geometries into collections of spatial cells.

However, a collection of complete H3 cells does not generally reproduce an irregular administrative boundary exactly.

The standard polygon-to-cells operation documented in the H3 region functions reference uses cell-centre containment to determine whether cells are included.

This approach can produce two types of geographic mismatch.

A cell whose centre lies inside an administrative region may extend outside that region. Conversely, a cell whose centre lies outside the region may contain locations that belong to it.

Spatial relationshipStandard centre-based selectionPotential consequence

Cell entirely inside the region

Included

Generally suitable for interior membership

Cell intersects the boundary; centre inside

Included

May include POIs outside the region

Cell intersects the boundary; centre outside

Excluded

May omit POIs inside the region

Cell entirely outside the region

Excluded

Generally appropriate

Two conceptual hexagons crossing a district boundary, showing a cell with its centre inside District A containing a POI outside the district, and a cell with its centre outside District A containing a POI inside it.
Cell-centre containment can approximate an administrative region but may incorrectly include or exclude individual POIs near its boundaries. Exact membership requires additional spatial verification.

The distinction becomes particularly important for small administrative regions, narrow territories, islands, complex coastlines, and locations close to jurisdictional boundaries.

Using finer H3 resolutions generally reduces the geographic scale of boundary approximation, but does not guarantee exact territorial membership.

Using H3 for candidate filtering

H3 can still provide an efficient way to identify candidate POI records for geographic queries.

A suitable workflow may first identify cells overlapping the requested geographic region, retrieve records associated with those cells, and then apply a precise point-in-polygon check against the original boundary geometry.

The candidate-selection operation must include boundary-intersecting cells, not only cells whose centres fall inside the region. Otherwise, some valid records may be excluded before the exact spatial check is performed.

The final point-in-polygon operation determines membership relative to the selected boundary dataset and its geometric accuracy.

Combining administrative boundaries and H3 in one POI dataset

A geographically structured POI dataset can retain several complementary geographic identifiers.

A conceptual record might include the following attributes.

FieldPurpose

poi_id

Identifies an individual place

latitude

Preserves the original geographic latitude

longitude

Preserves the original geographic longitude

adm0_id

Identifies the national geographic unit

adm1_id

Identifies the first-level administrative region

adm2_id

Identifies the second-level administrative region

h3_index

Identifies the associated H3 cell

h3_resolution

Specifies the resolution of the H3 identifier

boundary_version

Identifies the administrative boundary release

This is an illustrative schema, not the specification of a particular commercial dataset.

Administrative identifiers support geographic selection based on recognised jurisdictions. H3 identifiers support cell-based filtering, neighbourhood analysis, and spatial aggregation.

The original coordinates remain important for precise geographic calculations.

A practical dual-structure aggregation example

Suppose a geographic inventory contains 14 distinct POIs distributed across two administrative districts and three H3 cells.

One cell, C1, intersects both districts.

Spatial cellPOIs in District APOIs in District BTotal POIs

C1

4

2

6

C2

3

0

3

C3

0

5

5

Total

7

7

14

Fourteen hypothetical POIs distributed across two administrative districts and three hexagonal cells, producing seven POIs per district and cell counts of six, three and five.
Administrative boundaries and spatial cells can produce different geographic summaries of the same POI inventory. Retaining both identifiers allows records to be aggregated without losing their original territorial membership.

Cell labels and POI counts in this example are hypothetical. They do not represent actual H3 identifiers or observed Gridatum data.

The administrative summary contains seven POIs in each district. The H3 summary contains six POIs in Cell C1, three in Cell C2, and five in Cell C3.

Both summaries are correct because they organise the same underlying records using different geographic structures.

However, if Cell C1 were assigned entirely to District A based on the position of its centre, the resulting district counts would become nine POIs in District A and five in District B.

The overall count would remain 14, but the geographic distribution would be incorrect.

This demonstrates why administrative membership should be established at the individual-record level rather than inferred exclusively from cell membership.

Integrating population and other geographic variables

Administrative boundaries and H3 cells can both be used to summarise complementary geographic information, including population rasters, building footprints, nighttime lights, and road networks.

The appropriate aggregation method depends on the meaning of the underlying variable.

Geographic variableAppropriate aggregation approach

POI count

Count distinct eligible place records

Population count

Sum or appropriately allocate estimated residents

Population density

Divide population by the relevant geographic area

Building coverage

Measure intersecting footprint areas, accounting for overlaps

Road length

Measure road segments within the selected area

Nighttime radiance

Calculate a suitable statistical summary

Additive measurements, such as population counts, require different treatment from intensive measurements, such as population density and radiance.

Area-weighted allocation between geographic structures

Suppose a hypothetical H3 cell contains an estimated residential population of 100 people and intersects two administrative districts.

IndicatorDistrict A portionDistrict B portion

Intersecting area

0.06 km²

0.04 km²

Share of cell area

60%

40%

Area-weighted population estimate

60 people

40 people

The example assumes a total cell area of 0.10 km² and a uniform population distribution within the cell.

The allocated population totals remain consistent with the original estimate of 100 residents.

However, the actual population may be concentrated in only one part of the cell. Area-weighted allocation therefore preserves totals under the stated assumptions without establishing the true internal population distribution.

Where finer-resolution population information is available, calculating population directly from the underlying geographic data may provide a more appropriate result.

Spatial overlay functions such as PostGIS ST_Intersection can support the calculation of intersecting geographic areas.

How geographic scale affects analytical results

Both administrative regions and H3 cells can influence the geographic patterns observed in aggregated data.

A province-level summary may conceal substantial differences between individual neighbourhoods. Similarly, a fine H3 resolution may produce many cells containing too few observations for reliable statistical comparisons.

This sensitivity to geographic scale and aggregation boundaries is associated with the modifiable areal unit problem (MAUP).

H3 gives analysts greater flexibility in selecting the spatial resolution used for an analysis. Nevertheless, it does not eliminate geographic aggregation sensitivity.

Another consideration is the distinction between H3's logical hierarchy and geometric containment.

As explained in the H3 hierarchical indexing documentation, logical parent-child relationships are exact, but the geographic boundaries of finer cells are not always perfectly contained within their logical parents.

A hierarchical roll-up may therefore differ from directly indexing the original coordinates at a coarser resolution.

Analysts should document whether their statistics were generated through direct geographic indexing or logical parent-cell aggregation.

When should you use administrative boundaries or H3?

The preferred geographic structure depends on the analytical question.

Analytical objectiveRecommended structure

Retrieve all pharmacies in a province

Administrative boundaries

Compare official district-level statistics

Administrative boundaries

Organise national dataset downloads

Administrative boundaries

Identify local concentrations of restaurants

H3

Compare urban neighbourhoods at a consistent resolution

H3

Investigate activity across administrative borders

H3 or another suitable spatial grid

Select businesses in a district and analyse local clusters

Both

Calculate precise distance-based catchments

Original coordinates and geographic distance methods

Evaluate road travel accessibility

Transportation network analysis

H3 grid distance measures movement between adjacent cells rather than exact physical distance or travel time, as documented in the H3 grid traversal reference.

Neither administrative boundaries nor H3 should replace network analysis when the objective is to measure practical travel accessibility.

Applications in location intelligence

Geographic data selection

Administrative identifiers allow users to select POI records for specific countries, provinces, or districts.

H3 provides an additional option for selecting locations according to spatial cells, including areas that do not correspond to conventional administrative territories.

Combining these structures enables more flexible geographic data retrieval while preserving the ability to verify exact spatial membership.

Cross-border market analysis

Commercial markets frequently extend across administrative boundaries.

Businesses situated near neighbouring districts may serve customers from both regions. A grid-based approach can help investigate geographic patterns without automatically separating nearby locations according to jurisdiction.

Administrative information remains useful when analysing differences in regulations, official statistics, or regional operating conditions.

Retail site selection

Administrative boundaries can provide access to regional demographic statistics and government-defined geographic areas.

H3 can support more localised comparisons of competitor concentration, complementary businesses, and surrounding geographic conditions.

A complete retail site selection analysis may additionally require population catchments, transportation networks, property costs, and observed commercial performance.

Geographic data enrichment

Both structures can support the integration of additional geographic information with POI records.

Administrative identifiers may connect places with official regional statistics. H3 identifiers may connect them with spatially aggregated demographic, infrastructure, or mobility variables.

However, several establishments can share the same geographic context. Summing repeated cell-level population values or other shared attributes across individual POIs can produce substantial overcounting.

Geographic enrichment must preserve the distinction between establishment-specific measurements and contextual information associated with a shared spatial unit.

How to evaluate geographically structured POI data

When acquiring or preparing geographically structured datasets, analysts should examine both the original place records and their geographic assignments.

Evaluation criterionWhat to examine

Administrative boundary source

Provider, geographic definitions and release version

Administrative assignment

Unique, ambiguous and unmatched records

H3 resolution

Suitability for the intended spatial analysis

H3 indexing method

Direct coordinate indexing or hierarchical roll-up

Coordinate quality

Accuracy and consistency of original locations

Spatial aggregation

Appropriate treatment of counts, areas and shared attributes

Boundary handling

Procedures for overlapping regions and cross-boundary cells

Geographic coverage

Completeness across required countries and regions

A well-structured dataset should retain sufficient information to reproduce its geographic assignments.

Administrative identifiers and H3 indexes do not independently establish that a place exists, that its category is correct, or that its coordinates are accurate.

Those quality dimensions require separate evaluation.

Frequently asked questions

Is H3 better than administrative boundaries?

Not universally. H3 is useful for grid-based geographic analysis, while administrative boundaries are more appropriate for jurisdictional reporting and territorial data selection.

Can an H3 cell belong to multiple administrative regions?

Yes. An H3 cell can intersect several districts, provinces, or countries because its geometry is defined independently of administrative boundaries.

Does H3 provide equal-area geographic cells?

No. H3 cells at the same resolution can have different geographic areas. Density calculations should use the relevant individual cell area.

Can H3 replace ADM0, ADM1, and ADM2 identifiers?

H3 can provide an alternative spatial framework, but it cannot independently establish administrative membership. Retaining both structures is useful when applications require territorial filtering and grid-based analysis.

Does a higher H3 resolution improve the accuracy of POI coordinates?

No. A higher resolution provides a finer spatial representation without improving the accuracy of the original geographic observation.

Conclusion

Administrative boundaries and H3 spatial indexing provide complementary approaches to geographic data organisation.

Administrative boundaries connect locations with territorial jurisdictions and official regional information. H3 provides a hierarchical indexing framework that supports geographic aggregation and neighbourhood analysis independently of administrative divisions.

Combining administrative identifiers, H3 indexes, and original geographic coordinates allows the same POI dataset to support several analytical and operational requirements.

The most important consideration is not choosing one geographic structure over the other, but selecting the appropriate representation for each analytical task while preserving geographic accuracy, methodological transparency, and data provenance.

References