postgis_tiger_geocoder
Overview
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 1500 | postgis | No | Yes | No | Yes | No | No | - |
| 1501 | postgis_topology | No | Yes | No | Yes | No | No | topology |
| 1502 | postgis_raster | No | Yes | No | Yes | No | No | - |
| 1503 | postgis_sfcgal | No | Yes | No | Yes | No | Yes | - |
| 1504 | postgis_tiger_geocoder | No | Yes | No | Yes | Yes | No | tiger |
| 1505 | address_standardizer | No | Yes | No | Yes | No | Yes | - |
| 1506 | address_standardizer_data_us | No | Yes | No | Yes | No | Yes | - |
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PGDG | 3.6.4 | 1817161514 | postgis | postgis, fuzzystrmatch |
| RPM | PGDG | 3.6.3 | 1817161514 | postgis36_$v | - |
| DEB | PGDG | 3.6.4 | 1817161514 | postgresql-$v-postgis-3 | - |
| OS / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 |
| el8.aarch64 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 |
| el9.x86_64 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 |
| el9.aarch64 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 |
| el10.x86_64 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 |
| el10.aarch64 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 | PGDG 3.6.3 |
| d12.x86_64 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 |
| d12.aarch64 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 |
| d13.x86_64 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 |
| d13.aarch64 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 |
| u22.x86_64 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 |
| u22.aarch64 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 |
| u24.x86_64 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 |
| u24.aarch64 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 |
| u26.x86_64 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 |
| u26.aarch64 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 | PGDG 3.6.4 |
Install
You can install postgis directly. First, make sure the PGDG repository is added and enabled:
Install the extension using pig or apt/yum/dnf:
Create Extension:
Usage
PostGIS TIGER Geocoder: US Census TIGER/Line geocoding for PostGIS
The PostGIS TIGER Geocoder provides geocoding and reverse geocoding capabilities for US addresses using US Census TIGER/Line data. It can parse an address string into a normalized form, find the geographic coordinates, and reverse-geocode coordinates back to an address.
Setup
This creates the tiger schema with the geocoder tables and functions.
Loading TIGER Data
Before geocoding, TIGER/Line data must be loaded for the states you need. The extension provides helper functions to generate the loading scripts:
This generates a shell script that uses shp2pgsql to load TIGER shapefiles. Run the generated script to populate the tiger_data schema with address ranges, edges, faces, and other data.
After loading:
Geocoding
Convert a US address string to geographic coordinates:
The rating indicates match quality (lower is better, 0 = exact match).
Reverse Geocoding
Convert coordinates back to a street address:
Address Normalization
Parse and normalize address strings without geocoding:
Returns components: address (number), predirAbbrev, streetName, streetTypeAbbrev, postdirAbbrev, internal, location (city), stateAbbrev, zip, parsed.
Configuration
The tiger.geocode_settings table controls geocoder behavior:
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)