The Graphite Lab
Sign inBrowse the Catalog

Tools

Administrative Boundary Lookup

Returns the administrative regions a location belongs to, or the sub-regions inside one.

Module
Tools
where it lives

What it does

Returns the administrative regions a location belongs to, or the sub-regions inside one

Given a location, returns the full hierarchy of administrative boundaries it sits within, from neighborhood up through city, county, state, and country. The inverse also works: given a boundary, returns every sub-region it contains. Boundary geometry is included at each level, suitable for display or spatial filtering.

When you’d reach for it

  • Determining which service territory or jurisdiction a job address falls under.
  • Populating city and county fields from a coordinate without running a full geocode.
  • Listing every city within a county to seed territory configuration.