{"source":"forurensning","operation":"get_contaminated_sites_geojson","description":"Contaminated ground (grunnforurensning) around a coordinate as GeoJSON\npolygons, the mapped outline of each site or sub-area, ready to draw on\na map. Signature: get_contaminated_sites_geojson(lat: decimal number, decimal degrees (WGS84), required; lon: decimal number, decimal degrees (WGS84), required; radius_km: decimal number, kilometres, optional, default 1; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"get_contaminated_sites_geojson(lat: decimal number, decimal degrees (WGS84), required; lon: decimal number, decimal degrees (WGS84), required; radius_km: decimal number, kilometres, optional, default 1; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"lat","type":"number","schema":{"type":"number"},"required":true,"default":null,"description":"Latitude (WGS84) of the centre, between -90 and 90. Unit: decimal degrees (WGS84).","unit":"decimal degrees (WGS84)"},{"name":"lon","type":"number","schema":{"type":"number"},"required":true,"default":null,"description":"Longitude (WGS84) of the centre, between -180 and 180. Unit: decimal degrees (WGS84).","unit":"decimal degrees (WGS84)"},{"name":"radius_km","type":"number","schema":{"type":"number"},"required":false,"default":1,"description":"Half the box side in km, 0.1-5 (default 1). Unit: kilometres.","unit":"kilometres"},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100).","unit":"items"},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/forurensning/get_contaminated_sites_geojson?lat={lat}&lon={lon}&radius_km=1&limit=25&offset=0","example_url":"https://allemannsdata.com/wiki/api/v1/kilder/forurensning/get_contaminated_sites_geojson?lat=59.91&lon=10.75&radius_km=0.5","schema_scope":"#/data in the successful operation envelope","response_schema":{"type":"object","properties":{"type":{"type":"string","enum":["FeatureCollection"]},"bbox":{"type":"array","items":{"type":"number"}},"features":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["Feature"]},"geometry":{"type":"object","properties":{"type":{"type":"string","enum":["Polygon","MultiPolygon"]},"coordinates":{"type":"array"}},"additionalProperties":false,"required":["type","coordinates"]},"properties":{"type":"object","properties":{"id":{"type":["integer","string","null"]},"sub_area_id":{"type":["string","null"]},"name":{"type":["string","null"]},"site_type":{"type":["string","null"]},"impact":{"type":["string","null"]},"process_status":{"type":["string","null"]},"land_use":{"type":["string","null"]},"condition_class":{"type":["string","null"]},"municipality":{"type":["string","null"]},"business":{"type":["string","null"]},"industry":{"type":["string","null"]},"factsheet_url":{"type":["string","null"],"format":"uri"},"updated":{"type":["string","null"],"format":"date"}},"additionalProperties":false}},"additionalProperties":false,"required":["type","geometry","properties"]}},"count":{"type":"integer"},"truncated":{"type":"boolean"}},"additionalProperties":false,"required":["type","bbox","features","count","truncated"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"projected","entity_types":["organization","place"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"error_contract":{"scope":"top-level HTTP error response; never part of a success payload","schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object"}},"additionalProperties":false,"required":["code","message","retryable"]},"suggestion":{"type":"string"},"_meta":{"type":"object","properties":{"retrieved_at":{"type":"string","format":"date-time"},"language":{"type":"string","const":"en"},"content_languages":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"type":"object"}}},"required":["retrieved_at","language","content_languages","sources"]},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"api_index":{"type":"string","format":"uri"},"feedback":{"type":"string","format":"uri"}},"required":["self","api_index","feedback"],"additionalProperties":false}},"additionalProperties":false,"required":["error","suggestion","_meta","_links"]},"statuses":{"400":{"codes":["MISSING_PARAMETER","INVALID_PARAMETER","INVALID_REQUEST"],"retryable":false},"404":{"codes":["SOURCE_NOT_FOUND","OPERATION_NOT_FOUND","ENTITY_NOT_FOUND"],"retryable":false},"429":{"codes":["RATE_LIMITED","GATEWAY_RATE_LIMITED"],"retryable":true},"503":{"codes":["SOURCE_UNAVAILABLE"],"retryable":true},"500":{"codes":["INTERNAL_ERROR"],"retryable":true}}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/forurensning/get_contaminated_sites_geojson/schema","operation":"https://allemannsdata.com/wiki/api/v1/kilder/forurensning/get_contaminated_sites_geojson","source":"https://allemannsdata.com/wiki/api/v1/kilder/forurensning","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["type","bbox","features","features[].type","features[].geometry","features[].geometry.type","features[].geometry.coordinates","features[].properties","features[].properties.id","features[].properties.sub_area_id","features[].properties.name","features[].properties.site_type","features[].properties.impact","features[].properties.process_status","features[].properties.land_use","features[].properties.condition_class","features[].properties.municipality","features[].properties.business","features[].properties.industry","features[].properties.factsheet_url","features[].properties.updated","count","truncated"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["features[].properties.id"],"name":["features[].properties.name"]},"response_example":{"source":"forurensning","operation":"get_contaminated_sites_geojson","parameters":{"lat":59.91,"lon":10.75,"radius_km":0.5,"limit":25,"offset":0},"data":{"type":"FeatureCollection","bbox":[1.0],"features":[{"type":"Feature","geometry":{"type":"Polygon","coordinates":[null]},"properties":{"id":1,"sub_area_id":"example-id","name":"Example","site_type":"example value","impact":"example value","process_status":"example value","land_use":"example value","condition_class":"example value","municipality":"example value","business":"example value","industry":"example value","factsheet_url":"https://example.invalid/resource","updated":"2026-01-15T12:00:00Z"}}],"count":1,"truncated":true},"entities":[{"type":"place","id":"59.91,10.75","name":"59.91, 10.75","source":"forurensning","description":"Coordinate used as the operation input.","coordinates":{"lat":59.91,"lon":10.75,"crs":"WGS84"}}],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"forurensning","name":"Pollution registers","description":"Industrial facilities with discharge permits and registered contaminated ground from Milj\u00f8direktoratet, with contaminated-ground outlines as GeoJSON for maps.","cache_ttl_seconds":3600,"documentation":"https://www.miljodirektoratet.no/"}]},"_provenance":{"data":{"source":"forurensning","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/forurensning"},"entities":{"source":"forurensning","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/forurensning","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/forurensning/get_contaminated_sites_geojson","source":"https://allemannsdata.com/wiki/api/v1/kilder/forurensning","wiki":"https://allemannsdata.com/wiki/kilder/forurensning/get_contaminated_sites_geojson/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
