WikiWatershed / rapid-watershed-delineation

Rapid Watershed Delineation Code for MMW2
Apache License 2.0
12 stars 6 forks source link

Simplify NHD Geometries Based on their Areas #42

Closed arottersman closed 7 years ago

arottersman commented 7 years ago

Overview

NHD RWD Region 2 AOIs range from pretty small (~50sq. km) to 1/4 the size of PA and beyond. Before this PR we had their simplify tolerance at 0.0001 and they were coming back all pixelated. With such many-pointed, larger AOIs we weren't able to run analyze, save celery jobs, etc (see original issue).

Pics

1. Before, Nasty Pixelated -- Can't see Analyze Tabs

screen shot 2016-11-11 at 10 37 53 am

2. After (Not the same edge, just an example of clean, clean lines)

screen shot 2016-11-11 at 10 40 21 am

_3. Big shape with simplify_tolerance=1000 -- Same shape as 1., but can see Analyze Tabs_

screen shot 2016-11-11 at 10 32 19 am

_4. Little shape, simplify_tolerance=50_

screen shot 2016-11-11 at 10 34 09 am

Testing Instructions

Connects #41