---
title: "Enforcement Case Map Service"
method: GET
path: "/case_rest_services.get_map"
tags: ["Case Enforcement"]
---

# Enforcement Case Map Service

`GET /case_rest_services.get_map`

The purpose of the GET_MAP service is to display facility coordinates and facility clusters related to a get_cases query. Currently, the maximum number of coordinates returned is 500. GET_MAP performs automatic clustering at the state, county, and zip code levels to maximize the number of coordinates returned.

## Query parameters

- `output` 'JSONP' | 'JSON' | 'XML'
- `qid` string, required
- `callback` string
- `tablelist` 'Y' | 'N'
- `c1_lat` number
- `c1_long` number
- `c2_lat` number
- `c2_long` number

## Response `200`

Results are either an array of State, County, Zip Code facility cluster map coordinates or individual facility coordinates.  Coordinates provided are in WGS84.

- object — Service call container.
  - `MapOutput` Crs0MapOutput, required — Data container for visualizing case information.
    - `IconBaseURL` string, required — URL where all the icons are located
    - `MapData` Crs0MapData[], required — An array of facility geospatial information.
      - `ICON` string, required — Name of each individual icon file within the URL base
      - `LAT` string, required — The latitude of the facility in degrees, to four decimal places
      - `LON` string, required — The longitude of the facility in degrees, to four decimal places
      - `NAME` string, required — For DFR, this is the Facility name. The name corresponds to the TYPE value
      - `PUV` string, required — Pop up value. Combine with PopUpBaseURL to give the popup for the facility
      - `TYPE` string, required — For DFR, this is always facility
      - `VALUE` string, required
    - `PopUpBaseURL` string, required — Combine this URL with the PUC to get popup info
    - `QueryID` string, required — Sequential number assigned to entire search result

---

[API](https://skmtc.net/usepa/apis/case.md) · [All operations](https://skmtc.net/usepa/apis/case/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usepa/case/versions/0097d62ed30f/schema)
