nst-guide / data

Create map waypoints and layers from open data sources
https://nst-guide.github.io/data/
GNU General Public License v3.0
6 stars 0 forks source link

Generate no-fire polygons #42

Open kylebarron opened 4 years ago

kylebarron commented 4 years ago

I.e. use a DEM and find all the areas above 10,000 feet in Yosemite, or whatever elevation it is. Do that for each area

kylebarron commented 4 years ago

The easiest way to do this is probably to take the USGS Contours dataset, take the intersection of it and the polygons of interest above x feet.

The issue is that the contours are lines, not polygons. So you'd presumably have to polygonize the lines. But which way do the lines point? Is it standardized in the data?

kylebarron commented 4 years ago

Note that gdal contour has a polygon option https://gdal.org/programs/gdal_contour.html