One Health Atlas documentation
Atlas
View source

Get county map geometry

Get county map geometry

Error codes, retries, and value states are in Errors and retries.

Schemas: ProblemDetails.

GET
/v1/atlas/geometry
OpenAPI schema

Existing generalized CDC/ATSDR SVI 2022 display geometry in EPSG:4326, identified by stable five-digit county FIPS. This resource never returns internal 2025 TIGER/Line analysis polygons used for raster aggregation.

dataset_version?|

Data release to read, as a release_id. Omit it to use the current release. Copy a value from release_id in the metadata response. An unknown release returns 404.

Response Body

Display GeoJSON, EPSG:4326; immutable TTL 31536000; ETag.

application/geo+json
  1. response

Response Headers

  • Content-Type

    Schema string

    Media type of the body: `application/geo+json`.

  • Cache-Control

    Schema string

    How long a client or shared cache can reuse the response: `public, max-age=31536000, immutable`. While the API serves a fallback copy of its data, it replaces a `public` value with `private, no-store`.

  • ETag

    Schema string

    Opaque validator for this representation. Send it as `If-None-Match` to get an empty 304 when nothing changed. Send the value back exactly as you received it.

  • X-Request-ID

    Schema string

    Identifier for this request. Quote it when you ask for support. If you send a valid `X-Request-ID` request header, the API uses that value. Otherwise it generates one. A response that a shared cache replays can carry the identifier of the request that filled the cache.

Example Request
curl -X GET 'https://api.onehealthatlas.org/v1/atlas/geometry'
Example ResponseSchema

Response headers: Content-Type: application/geo+json, a weak ETag, and Cache-Control: public, max-age=31536000, immutable. The body is a FeatureCollection with one feature per county; this sample keeps one feature.

{  "type": "FeatureCollection",  "features": [    {      "type": "Feature",      "id": "56045",      "properties": {        "fips": "56045"      },      "geometry": {        "coordinates": [          [            [              -105.081,              43.966            ],            [              -105.079,              44.176            ],            [              -104.055,              44.18            ],            [              -104.055,              43.503            ],            [              -105.08,              43.498            ],            [              -105.081,              43.966            ]          ]        ],        "type": "Polygon"      }    }  ]}

Last updated on