wait, where did the parcels all go?

This commit is contained in:
Dustin Carlino 2018-10-23 10:35:58 -07:00
parent d4a2ecb693
commit 118b676220
3 changed files with 35 additions and 1 deletions

View File

@ -189,6 +189,8 @@ One UI plugin at a time:
- https://www.reddit.com/r/rust/comments/6sukcw/is_it_possible_to_to_create_an_ortho_view_in_glium/ has a direct example of affine transformation
- https://www.reddit.com/r/gamedev/comments/4mn9ly/3d_matrix_transformation_question_rotating/
- https://docs.rs/cgmath/0.14.1/cgmath/trait.Transform.html#tymethod.look_at is ready-made
## Wizard
API looks like coroutines/continuations, but it just works by replaying

View File

@ -223,3 +223,34 @@ Cool, good enough to start. whew.
- can we use quadtrees for the expensive building/sidewalk matching?
- awkward to bring a rendering-layer concept in; dont otherwise care about lane polygons
## Neighborhoods
It's hard to zoom out and quickly pinpoint where interesting things (A/B diffs,
traffic jams, suspicious silence) are happening. What if we could optionally
collapse a region into a big colored polygon and just display quick stats on
it?
- defining them
- what do they include?
- a polygon capturing buildings, lanes, etc
- what happens when the polygon only partially contains an object?
- is it a border thing? makes sense for lanes, not for buildings
- border lanes could be used for some kind of in/out flow
- do they have to fully partition the map?
- they should at least be disjoint
- how to define them?
- the seattle neighborhood definitions are seemingly way too large
- could manually draw them, but including buildings carefully is sort of hard
- we have the automatic parcel grouping stuff for coloring... could it help?
- could find max-cuts to spot important border roads and the neighborhoods they connect
- summary stats
- cars parked, open parking spots, moving peds, moving cars,
stuck cars, busses present, number of agents with A/B test
divergence...
- this can start to force me to be mildly performant.
precompute what objects are in each polygon, then have a
summary thing collect stats every few seconds when shown?
- do these need to be objects in the GUI? at first no, just make a
plugin draw them, but eventually, yes. they should probably be a
map_model concept.

View File

@ -38,7 +38,8 @@ if [ ! -f data/input/neighborhoods.geojson ]; then
fi
# From https://gis-kingcounty.opendata.arcgis.com/datasets/king-county-parcels--parcel-area/geoservice
get_if_needed https://opendata.arcgis.com/datasets/8058a0c540434dadbe3ea0ade6565143_439.kml data/input/King_County_Parcels__parcel_area.kml;
# TODO This isn't a direct link
#get_if_needed https://opendata.arcgis.com/datasets/8058a0c540434dadbe3ea0ade6565143_439.kml data/input/King_County_Parcels__parcel_area.kml;
if [ ! -f data/input/Seattle.osm ]; then
get_if_needed http://download.bbbike.org/osm/bbbike/Seattle/Seattle.osm.gz data/input/Seattle.osm.gz;