Combined ECHO Map Service
The purpose of the GET_MAP service is to display facility coordinates and facility clusters related to a get_facilities facility 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 Format Flag. Enter one of the following keywords:
- JSON = Data model formatted as Javascript Object Notation (default).
- JSONP = Data model formatted as Javascript Object Notation with Padding.
- XML = Data model formatted as Extensible Markup Language.
Query ID Selector. Enter the QueryID number from a previously run query.
JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response.
Table List Flag. Enter a Y to display the first page of facility results.
Latitude of 1st corner of box that bounds the resulting facilities. The latitude and longitude of both corners of the bounding box must be provided.
Longitude of 1st corner of box that bounds the resulting facilities. The latitude and longitude of both corners of the bounding box must be provided.
Latitude of 2nd corner of box that bounds the resulting facilities. The latitude and longitude of both corners of the bounding box must be provided.
Longitude of 2nd corner of box that bounds the resulting facilities. The latitude and longitude of both corners of the bounding box must be provided.
Identifier for the service.
Response
Results are either an array of State, County, Zip Code facility cluster map coordinates or individual facility coordinates. Coordinates provided are in WGS84.
Example response
{
"MapOutput": {
"IconBaseURL": "https://echo.epa.gov/app/map/icons/",
"MapData": [
{
"CAAstatus": "______UUUUUU",
"CWAstatus": "VV_______V_VV",
"FormalCount": "1",
"ICON": "CAA-IC-MN-N.png",
"InformalCount": "1",
"LAT": "38.798026",
"LON": "-77.062981",
"LastInsp": "901",
"NAME": "VIRGINIA CONCRETE ALEXANDRIA PLANT",
"PUV": "110001891506",
"RCRAstatus": "________VVSS",
"SDWAstatus": "________VVSS",
"TYPE": "Facility"
}
],
"PopUpBaseURL": "https://echodata.epa.gov/echo/cwa_rest_services.pop_up?p_id=",
"QueryID": "245"
}
}