-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create geometry simplification pipeline for basins #11
Comments
Addresses #11, showing how to use the topojson](https://github.com/mattijn/topojson) library to simplify adjacent polygons without introducing gaps or overlaps.
Commit 5aea157 demonstrates how to use the topojson library to simplify adjacent polygons without introducing gaps or overlaps. I used In addition, this TopoSimplified file is 2.2x faster to write to compressed parquet, stores as a 2.0x smaller file, and reads 1.3x faster.
|
I just retested the performance benefits of the TopoSimplification on the full sized
HOWEVER, running the |
The TDX Hydro
streamnet
andstreamreach_basins
geometries provided by NGA are at delineated at the scale of the underlying DEM pixels. These full resolution geometries are amazing for explicitly knowing which pixels are in/out for purposes of flow directions and zonal stats.We decided for our initial implementation for visualization that simplifying those geometries was not necessary due to the tiling approaches used by Model My Watershed. Once tiles are rendered the first time and cached, performance for visualization is very fast, regardless of scale.
However, these full resolution geometries add computational and storage that slow down many of our processes, especially for dissolving basin geometries in the final step of delineating large watersheds.
We need to find the best approach and settings for simplifying these geometries just the right amount.
The text was updated successfully, but these errors were encountered: