Commit Graph

2032 Commits

Author SHA1 Message Date
Dustin Carlino
bad4ea7039 gluing file reader to timer, so progress shows up on loading screens 2019-05-29 12:52:49 -07:00
Dustin Carlino
17b31582cb delete ModalMenu::hacky_new 2019-05-29 11:34:53 -07:00
Dustin Carlino
cce1b6ff88 making an ItemSlider to handle the common case of scrolling through items 2019-05-29 11:31:01 -07:00
Dustin Carlino
110140f391 union make_arrow polygon 2019-05-28 18:05:10 -07:00
Dustin Carlino
f2f16ad992 make slider just operate on percentages. use for scrolling time in all trip viz 2019-05-28 14:56:09 -07:00
Dustin Carlino
b9a8ea6c61 interpret PSRC transit trips correctly 2019-05-28 13:28:35 -07:00
Dustin Carlino
ea49fe63ba match PSRC trips to OSM building IDs up-front, trimming down filesize and speeding up clipping later 2019-05-28 13:04:31 -07:00
Dustin Carlino
28b2734d59 starting a slider widget, using in easy places where the range is usize 2019-05-28 12:13:22 -07:00
Dustin Carlino
83f62631e9 fix cases where path.trace doubles back on itself a bit due to slightly
weird walking geometry
2019-05-28 10:19:49 -07:00
Dustin Carlino
c65bb09801 dont allow spawning random agents after seeding psrc trips 2019-05-27 18:00:28 -07:00
Dustin Carlino
ca6b5d2c7d new release 2019-05-27 11:29:17 -07:00
Dustin Carlino
72ac85f540 stability round: loading ballard broke, spawning PSRC trips in most maps hit little bugs 2019-05-27 10:45:53 -07:00
Dustin Carlino
0e298c756f make it a bit easier to jump to the time when trips are actually
starting. and prepping popdat for release
2019-05-26 21:31:44 -07:00
Dustin Carlino
40efcc7b05 generalize a parallelize method for timers, use for all trip viz 2019-05-25 19:35:35 -07:00
Dustin Carlino
bc69a6b4d4 spawn as many trips from PSRC as possible 2019-05-25 18:34:50 -07:00
Dustin Carlino
ef60359cc8 spawn trips from data. not working yet; hitting a problem with
sidewalk->bike lane on oneways
2019-05-25 18:22:07 -07:00
Dustin Carlino
01a4abb64a work around path traces that're breaking PolyLine 2019-05-25 13:33:41 -07:00
Dustin Carlino
1cdbe0ea81 refactor parallelized pathfinding and use it in trip viz too 2019-05-24 12:50:01 -07:00
Dustin Carlino
f674527ef2 interpolate along route for trip viz 2019-05-24 12:28:57 -07:00
Dustin Carlino
416d0b0d7d building PathRequest for trip visualization, and slightly refactoring bldg->Position for it. also forced to extend the equiv_pos fix for bus stops to all equiv_pos queries. 2019-05-24 11:47:01 -07:00
Dustin Carlino
8d7ec9d533 start a tool to visualize all trips over time 2019-05-23 17:39:29 -07:00
Dustin Carlino
7b4b0b20b7 use a skip_fail macro in loops 2019-05-23 16:26:22 -07:00
Dustin Carlino
dad1c170ed squish down the popdat output by using enums for purpose 2019-05-23 16:15:42 -07:00
Dustin Carlino
42c021c8df glue timers to psrc input stuff 2019-05-23 16:04:46 -07:00
Dustin Carlino
a6ecda2d07 also scrape trip time and distance, for sanity checks 2019-05-23 15:47:45 -07:00
Dustin Carlino
73b751d46c also scrape trip purpose 2019-05-23 15:29:32 -07:00
Dustin Carlino
e597c8e0bc match src/dst to a building 2019-05-23 15:02:04 -07:00
Dustin Carlino
3a363c89b4 starting a simple explorer for the trips data 2019-05-23 14:49:35 -07:00
Dustin Carlino
f01173ec50 export some trips in PopDat, start reading them in and filtering 2019-05-23 14:34:47 -07:00
Dustin Carlino
a069380439 importing basic info from PSRC trips 2019-05-23 14:20:27 -07:00
Dustin Carlino
0569dd4abd reading the PSRC parcels file, converting coordinates 2019-05-23 13:58:15 -07:00
Dustin Carlino
788cd237a8 upload traffic signal Drawable once per state change 2019-05-23 11:31:28 -07:00
Dustin Carlino
92a0d38978 deal with bus stops on the wrong side of the road 2019-05-21 16:18:39 -07:00
Dustin Carlino
aac9c41d8a fix missing sidewalks on non-residential one-ways downtown. luckily, there's an explicit OSM tag to help. WIP this breaks bus stops on one-ways! fix coming soon 2019-05-21 14:33:32 -07:00
Dustin Carlino
d2dc7e52eb draw the traffic signal diagram on the left. stop caring where the
bottom left of a modalmenu is
2019-05-21 14:13:48 -07:00
Dustin Carlino
9cc23c6ab1 remove unnecessary stop-signs at degenerates with crosswalks 2019-05-21 14:02:49 -07:00
Dustin Carlino
7ba6cd32b4 control to reset traffic signal to original 2019-05-21 13:45:48 -07:00
Dustin Carlino
219a7b3236 refactoring list of signal policies 2019-05-21 13:26:39 -07:00
Dustin Carlino
6b5945aade put traffic signal box in the true middle of the intersection; it was in a bad spot for one-ways 2019-05-21 13:13:24 -07:00
Dustin Carlino
28eb670bf9 also display estimated total number of cars in the tract 2019-05-20 15:14:22 -07:00
Dustin Carlino
0f88e67a01 error bars too 2019-05-20 15:06:04 -07:00
Dustin Carlino
3a625f9a32 print percentages and number of samples in bar chart 2019-05-20 14:57:17 -07:00
Dustin Carlino
253127fd19 use colorbrewer for nice related colors 2019-05-20 12:26:33 -07:00
Dustin Carlino
09493f9b7b remove old color shifting 2019-05-20 11:58:35 -07:00
Dustin Carlino
381883b357 display the stats with simple bar charts 2019-05-20 11:56:00 -07:00
Dustin Carlino
dd3d670cdd display table of data for a tract. group all the measurements to bundle
error
2019-05-20 10:47:26 -07:00
Dustin Carlino
6f2b907927 count the buildings and parking spots in each tract 2019-05-20 10:05:06 -07:00
Dustin Carlino
083b96f0e7 mouseover tracts 2019-05-20 09:47:27 -07:00
Dustin Carlino
8d2e3b0623 census tracts are the same between datasets, so group the data better 2019-05-20 09:33:20 -07:00
Dustin Carlino
dfdc6804e5 very barebones mode to explore the popdat 2019-05-20 09:12:57 -07:00