-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
--- | ||
|
||
|
||
# Vector Layers | ||
|
||
The heart of this application design is a vector dataset serialized as both (Geo)Parquet and PMTiles. | ||
The parquet version allows for real-time calculations through rapid SQL queries via duckdb, | ||
and the PMTiles version allows the data to be quickly visualized at any zoom through maplibre. | ||
maplibre can also efficiently filter the PMTiles data given a feature ids returned by duckdb. | ||
|
||
`gdal_translates` can generate both PMTiles and geoparquet, though `tippecanoe` provides more | ||
options for PMTiles generation and can produce nicer tile sets. | ||
|
||
The demo uses the CDC Social Vulnerability data because it is built on the hierachical partitioning | ||
used by the Census (Country->State->County->Tract) hierarchy. | ||
|
||
# Raster Layers | ||
|
||
## Generating static tiles | ||
|
||
## Zonal statistics calculations | ||
|
||
The application is essentially driven by the vector layer data using SQL. | ||
I find it helpful to pre-process 'zonal' calculations, e.g. the mean value of each raster layer | ||
within each feature in the 'focal' vector data set(s). | ||
|