Skip to content

Commit 3200338

Browse files
wildfire incident type
1 parent 1d7659b commit 3200338

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inciweb_wildfires/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ def get_incidents() -> FeatureCollection:
2828
# Loop through all the placemarks
2929
feature_list = []
3030
for d in data:
31-
# Do not include "Prescribed Fire" types
32-
if (d['type'] != 'Prescribed Fire'):
31+
# Only include "Wildfire" types
32+
if (d['type'] == 'Wildfire'):
3333
# Reformat as GeoJSON
3434
x = convert_coords(d["long_deg"], d["long_min"], d["long_sec"])
3535
y = convert_coords(d["lat_deg"], d["lat_min"], d["lat_sec"])

0 commit comments

Comments
 (0)