v1

latestSwagger 2.0U.S. Public Domain License2026-07-143628384.6 KB
Facility Information

Clean Water Act (CWA) GeoJSON Service

Based on the QID obtained from a get_facilities or get_facility_info query, return GeoJSON of the facilities found.

get/cwa_rest_services.get_geojson

Query parameters

outputstring

Output Format Flag. Enter one of the following keywords:

  • GEOJSON = Facility results formatted as GeoJSON feature collection (default).
  • GEOJSONP = Facility results formatted as GeoJSON feature collection with Padding.
  • GEOJSOND = Facility results formatted as GeoJSON feature collection download.
qidstring required

Query ID Selector. Enter the QueryID number from a previously run query.

callbackstring

JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response.

newsortnumber

Output Sort Column. Enter the number of the column on which the data will be sorted. If unpopulated results will sort on the first column.

descending'Y' | 'N'

Output Sort Column Descending Flag. Enter Y to column identified in the newsort parameter descending. Enter N to use ascending sort order. Used only when newsort parameter is populated.

qcolumnsstring

Used to customize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object or download. Use the metadata service endpoint for a complete list of Ids and definitions.

p_pretty_printnumber

Optional flag to request GeoJSON formatted results to be pretty printed. Only provide a numeric value when the output needs to be human readable as pretty printing has a performance cost.

Response

Results are formatted as a GeoJSON feature collection.

typestring required

Static marker indicating object is a GeoJSON Feature Collection.

Example response

{
  "features": [
    {
      "geometry": {
        "type": "Point"
      },
      "properties": {
        "AIRIDs": "DC0000001100195254",
        "AttainsAquaticLifeUseFlg": "Y",
        "AttainsAuCategory": "5",
        "AttainsCauseGroups": "POLYCHLORINATED BIPHENYLS (PCBS) | TOXIC ORGANICS",
        "AttainsCycleYear": "2012",
        "AttainsExceptnlUseFlg": "Y",
        "AttainsImpWaterFlg": "Y",
        "AttainsPossibleNPDESParams": "pH",
        "AttainsRecreationUseFlg": "Y",
        "AttainsShellfishUseFlg": "Y",
        "AttainsSource": "303(d)",
        "AttainsStateCauses": "PH | POLYCHLORINATED BIPHENYLS (PCBS)",
        "BeachCloseLast2yrsFlg": "Y",
        "BeachCloseLastYearFlg": "Y",
        "BioVioLastYearFlag": "N",
        "BioVioStatus": 1,
        "CWP13qtrsComplHistory": "VV__SS_U__V_",
        "CWPActualAverageFlowNmbr": 448,
        "CWPCaseIDs": "03-2014-0228",
        "CWPCity": "HUNTSVILLE",
        "CWPComplianceTracking": "On",
        "CWPCounty": "District of Columbia",
        "CWPCsoFlag": "N",
        "CWPCsoOutfalls": "59",
        "CWPDateLastFea": "06/01/2006",
        "CWPDateLastFeaEPA": "06/01/2006",
        "CWPDateLastFeaSt": "09/27/2010",
        "CWPDateLastIeaEPA": "12/09/1992",
        "CWPDateLastIeaSt": "06/09/2013",
        "CWPDateLastInformalEa": "06/09/2013",
        "CWPDateLastInspEPA": "07/29/2015",
        "CWPDateLastInspSt": "09/15/2004",
        "CWPDateLastInspection": "07/29/2015",
        "CWPDateLastPenalty": "09/27/2010",
        "CWPDaysLastInspection": 247,
        "CWPE90Cnt": 5,
        "CWPEPARegion": "03",
        "CWPEffectiveDate": "01/14/2009",
        "CWPExpirationDate": "04/19/2005",
        "CWPFIPSCode": "11032",
        "CWPFacilityTypeIndicator": "NON-POTW",
        "CWPFormalEaCnt": "1",
        "CWPImpWaterFlg": "Y",
        "CWPIndianCntryFlg": "Y",
        "CWPInformalEnfActCount": 3,
        "CWPInspectionCount": 4,
        "CWPIssueDate": "11/10/2015",
        "CWPMajorMinorStatusFlag": "N",
        "CWPNAICSCodes": "236220",
        "CWPName": "REDSTONE ARSENAL",
        "CWPPermitStatusCode": "ADC",
        "CWPPermitStatusDesc": "Effective",
        "CWPPermitTypeCode": "NPD",
        "CWPPermitTypeDesc": "General Permit Covered Facility",
        "CWPQtrsWithNC": 3,
        "CWPSICCodes": "4911",
        "CWPSNCStatusDate": "09/30/2018",
        "CWPState": "AL",
        "CWPStateWaterBodyCode": "552968",
        "CWPStateWaterBodyName": "POTOMAC RIVER",
        "CWPStatus": "No Violation",
        "CWPStreet": "BUILDING 3240 AREA",
        "CWPTotalDesignFlowNmbr": 40,
        "CWPTotalPenalties": "$6,524",
        "CWPVioStatus": "E(EffViol)",
        "CWPViolStatus": "No",
        "CWPZip": "35898",
        "CalculatedAccuracyMeters": 50,
        "CensusBlockGroup": "110010096022",
        "CertifiedDate": "01/01/2018",
        "ChesapeakeBayFlag": "Y",
        "CollectionMethod": "ADDRESS MATCHING-HOUSE NUMBER",
        "CurrSvFlag": 1,
        "CurrVioFlag": 1,
        "DMRImpairedPoll": "Mercury | Oil and grease | Solids, total suspended | Temperature, water deg. centigrade | Temperature, water deg. fahrenheit | pH",
        "DMRPounds": 4012,
        "DMRTwpe": 1.15,
        "E90Exceeds1yr": "4",
        "E90Exceeds2yr": "8",
        "E90Exceeds3yr": "10",
        "E90Exceeds4yr": "12",
        "E90Exceeds5yr": "16",
        "E90Pollutants1yr": "Lead",
        "E90Pollutants2yr": "Lead, Copper",
        "E90Pollutants3yr": "Lead, Copper",
        "E90Pollutants4yr": "Lead, Copper",
        "E90Pollutants5yr": "Lead, Copper",
        "EPASystem": "ICP",
        "FacCountyName": "Fairfax County",
        "FacDerivedHuc": "552968",
        "FacDerivedTRIbes": "Cherokee Nation",
        "FacDerivedWBD": "20700100204",
        "FacDerivedWBDHu8": "2070003",
        "FacDerivedWBDHu8Name": "Cacapon-Town",
        "FacDerivedWBDName": "Fourmile Run-Potomac River",
        "FacFIPSCode": "55001",
        "FacFederalAgencyCode": "E",
        "FacFederalAgencyName": "EPA",
        "FacIndianSpatialFlg": "Y",
        "FacMapFlg": "Y",
        "FacMapIcon": "CWA-NC-MJ-2.png",
        "FacPercentMinority": 45.379,
        "FacPopDen": 6716.34,
        "FacStdCountyName": "Fairfax County",
        "FacTRIPotwTrans": "1058200",
        "FacTRIReporter": "B",
        "FacTRISwRel": "0",
        "FacUsMexBorderFlg": "Y",
        "IndswFlag": "Y",
        "Infea5yrFlag": 1,
        "Insp5yrFlag": 1,
        "InspDef5yrCnt": 1,
        "LastDMRValueRcvdDate": "01/31/2018",
        "Lower48": "Y",
        "MaxPctileUs": 54.7,
        "MaxScore": 1,
        "MsgpPermitType": "NOI",
        "Over80CountUs": 3,
        "PastCalYrAverageFlow": "209",
        "PastCalYrToxicPollutants": "Benzene",
        "PctileCancerUs": 99,
        "PctileDpmUs": 99,
        "PctileO3Us": 52.4,
        "PctilePctpre1960Us": 14.6,
        "PctilePmUs": 52.4,
        "PctileProximityNPDESUs": 45.3,
        "PctileProximityNplUs": 38.9,
        "PctileProximityRmpUs": 54.7,
        "PctileProximityTsdfUs": 42.4,
        "PctileRespUs": 41.9,
        "PctileTrafficScoreUs": 7,
        "PermitComponents": "POTW",
        "RCRAIDs": "VAD981111784",
        "RadGnisName": "Pojoaque River",
        "RadHu12Name": "Nichols Run-Potomac River",
        "RadReachcode": "144957244039",
        "RadWBDHu8": "2060003",
        "RadWBDHu8Name": "Gunpowder-Patapsco",
        "RadWBDHuc12": "020700081005",
        "ReferencePoint": "ENTRANCE POINT OF A FACILITY OR STATION",
        "RegistryID": "110020837601",
        "RmpIDs": "110000",
        "SDWAIDs": "DC0000001",
        "Score": 1,
        "Sector": "N: Scrap Recycling Facilities",
        "SourceID": "ALR040033",
        "StateAuthBiosolids": "Y",
        "Statute": "CWA",
        "TRIIDs": "20011FRTTT5001F",
        "TRIbalFlag": 1,
        "VioLastYear": 1,
        "ViolFlag": 1,
        "WebDocs": "C6"
      },
      "type": "Feature"
    }
  ],
  "type": "FeatureCollection"
}