Commit Graph

1576 Commits

Author SHA1 Message Date
Dustin Carlino
2b50e7969c refactor position 2020-06-29 20:55:36 -07:00
Dustin Carlino
1617a3d3c1 skip missing maps in the city picker 2020-06-29 09:36:37 -07:00
Dustin Carlino
c97bd0fe4b some cleanup after #106. unbreak importer 2020-06-28 11:13:35 -07:00
phimuemue
a675e72d25
Avoid collect et al (#106)
* Avoid unconditional collect in get_lane_types

* Introduce Road::children(fwds)

Simplifies direction-aware lane retrieval.

* Simplify all_lanes

* Avoid unneeded collect

* Avoid some Vec copying

* Avoid unconditional collect

* Avoid some collect

* Avoid clone

* Avoid collect

* Avoid collect

* Avoid collect

* Avoid collect

* Avoid collect

* Avoid collect

Co-authored-by: Dustin Carlino <dabreegster@gmail.com>
2020-06-28 11:00:09 -07:00
Dustin Carlino
63d16a16c3 speed up the trip table tab. on lakeslice at 8am, down from ~0.3s to
~0.005s in release mode
2020-06-28 10:44:21 -07:00
Dustin Carlino
bb3da1f8eb Make a very primitive form of adaptive traffic signal phases. It should
be easier to write better policies now; this mostly does the work of
changing the map model and UI to handle variable timing. A small step
towards #91
2020-06-28 10:20:47 -07:00
Dustin Carlino
ae6c099bd5 start bringing in private broadmoor roads. omit from the CH, so trips will just fail without a path for now. 2020-06-27 16:19:48 -07:00
Dustin Carlino
a6b90d00d8 very simple modifier to cancel all trips for some percentage of people 2020-06-27 14:20:25 -07:00
Dustin Carlino
90b556ac1f carve out a way to modify the weekday scenario in the UI. express the 5 day repeat using this 2020-06-27 11:56:45 -07:00
Dustin Carlino
2881341b63 make parking lots hideable. dont snap parking and sidewalk hints to
light rail. not regenerating all the maps again yet to avoid some churn
2020-06-26 17:02:14 -07:00
Dustin Carlino
eab0988bd8 hello light rail! just import the tracks, represent as a new lane type.
make clipping handle starts and ends separately
2020-06-26 16:47:18 -07:00
Dustin Carlino
16beebd1de use underlining to refer to edits, not quotes. only in some places. :\ 2020-06-26 14:13:12 -07:00
Dustin Carlino
bfd1b9c190 rotate labels on buses, now that i figured out how to do it reasonably on roads 2020-06-26 11:31:27 -07:00
Dustin Carlino
77fa6eb43d switch to upstream usvg, now with support for a loaded-once fontdb that
only uses bundled fonts, not system fonts. side effect is that
apparently the overpass font doesn't have ▼, so switch to a silly down
arrow for now
2020-06-26 11:22:22 -07:00
Dustin Carlino
7fa26dfc90 add a mode to draw every zoomed agent, to help flush out bugs like #98 and #72 faster 2020-06-25 10:55:17 -07:00
Dustin Carlino
b3a480b4c1 clean up old trip positions from Sim. implement the all-route debugger
in a more straightforward way
2020-06-25 09:20:54 -07:00
Dustin Carlino
bc6482c522 include camera state and edits in the crash report. would make it easier to repro #98 and #72 2020-06-25 09:02:50 -07:00
Jeff Raymakers
56277bbbad
fix math in city picker to use scale factor (#102)
Co-authored-by: Jeff Raymakers <jephy@gmail.com>
2020-06-24 23:02:05 -07:00
Tim Newsome
4ccd13c8e1
Round time to 10 minutes in jump to dialog (#100)
This allows me to quickly and precisely jump to the same time every
time.
2020-06-24 20:55:18 -07:00
Dustin Carlino
097b33c80a release another attempt at a windows fix 2020-06-24 17:20:21 -07:00
Dustin Carlino
915713babb to mitigate #95, add a setting to adjust scroll speed 2020-06-24 14:26:15 -07:00
Dustin Carlino
dd13ade952 more fluidly jump from lane editor to intersection editors. but not vice
versa, because it'd be too easy to accidentally lose complicated
intersection edits
2020-06-24 13:49:09 -07:00
Dustin Carlino
2de540ed46 load edits also includes proposals. if opened, it makes a local copy 2020-06-24 13:28:02 -07:00
Dustin Carlino
e586760ef7 autosave was a lie. actually do it after any edit, not just when loading new edits 2020-06-24 12:06:06 -07:00
Dustin Carlino
8a8d088ceb show number of finished trips in the time warp screen, as a quick proxy for if a change is helping/hurting gridlock 2020-06-24 11:53:25 -07:00
Dustin Carlino
d933352d93 fix unintentional trip timeline spacing 2020-06-24 08:53:56 -07:00
Dustin Carlino
07bf9725d4 use a regularly spaced marking for construction instead of the weird
stripes. clean up the hack in the shader
2020-06-24 08:36:47 -07:00
Dustin Carlino
626636ece7 remove turn lookup. have always found myself using the src lane. edits invalidated it anyway 2020-06-23 18:36:45 -07:00
Dustin Carlino
684bf72dde recalculate stop signs when lanes change; construction->driving was
breaking the west seattle bridge. fixes #68. include a built-in proposal
to fix the bridge. ;)
2020-06-23 17:46:35 -07:00
Dustin Carlino
d707969af5 remove mt_baker map and replace it with a much wider south_seattle map,
per request [rebuild]
2020-06-23 16:41:36 -07:00
Dustin Carlino
b267997554 add debugging for #65 and try setting the initial window size differently [rebuild] 2020-06-23 10:59:56 -07:00
Dustin Carlino
7f6beb73db mac keyboards maybe dont have right ctrl, use left ctrl instead [rebuild] 2020-06-23 10:38:41 -07:00
Dustin Carlino
05cf8c113f depend on rust-native TLS to fix #77 and adjust some wording to fix #80 2020-06-23 09:00:41 -07:00
Dustin Carlino
a9b2a33ffc windows fixes:
- the updater script was clobbering clobber data/
- window resize events seem to capture title bar (#65)
[rebuild]
2020-06-22 15:51:42 -07:00
Dustin Carlino
6ff190065c hold the presses!
- dont scale the lyon-powered thick lines by the DPI, to help #61
- move the message panel to the left for one part of the tutorial, to
help #62
- adjust some tutorial wording
- let people skip tutorial stages
[rebuild]
2020-06-21 23:04:35 -07:00
Dustin Carlino
9672565efd - still reset edits after saving them and continuing
- hide unfinished uber-turn editor
[rebuild]
2020-06-21 16:59:31 -07:00
Dustin Carlino
eedf80bfef tiny tweaks from final testing:
- cutscene wording
- elide traffic tab on parking lanes
- dont crash when traffic signal data needs fixing, just warn more
loudly. this lets lanes near some signals actually be modified
2020-06-21 11:38:34 -07:00
Dustin Carlino
506077a7b7 fix road labels. enable them by default! 2020-06-20 15:26:54 -07:00
Dustin Carlino
b231809ba2 cap hill's rainbow crosswalks! [rebuild] 2020-06-20 10:05:47 -07:00
Dustin Carlino
4dd2835cd4 fix most of the angle inversion mess! 2020-06-19 20:25:47 -07:00
Dustin Carlino
c66564dd9d try out a new style for road labels 2020-06-19 20:12:25 -07:00
Dustin Carlino
5a9fb4ceef starting work on a brute-force traffic signal heuristic. organizing
existing code better.
2020-06-19 13:07:42 -07:00
Dustin Carlino
f5385b83df restore raw throughput counts deleted in
ca33695431, flagged off, for further
exploration of compressed representations. also, apparently lakeslice
prebaked results have been missing for a while due to dropbox snafu! fix
2020-06-19 11:04:07 -07:00
Dustin Carlino
288e90e530 use lyon for stroking line plots 2020-06-18 17:44:12 -07:00
Dustin Carlino
a25994123b lift filtering out of scatter and line plots. makes everything
responsive by default and is way simpler. [rebuild]
2020-06-18 15:48:46 -07:00
Dustin Carlino
4aeb80cfce recompute scatter plot avg when filtering stuff. but actually, should
probably implement the filtering differently anyway...
2020-06-18 14:50:48 -07:00
Dustin Carlino
b5e9d64a9b optionally use arrow keys to pan the map. need this for filming a trailer. fixes #10. also make the settings panel layout less horrific 2020-06-18 12:44:47 -07:00
Dustin Carlino
bc8f352600 when people are riding a bus, map them to the bus instead of just crashing 2020-06-18 11:23:09 -07:00
Dustin Carlino
6d395cbe5c slightly adjust the compare throughput layer. fixing crash with cached
routes in timeline [rebuild]
2020-06-18 10:47:38 -07:00
Dustin Carlino
26cdde056c fix throughput and delay max_x and disable comparison by default 2020-06-17 15:05:31 -07:00
Dustin Carlino
ca9202c1e8 group the before/after series in line plots 2020-06-17 14:33:27 -07:00
Dustin Carlino
0dddd1d6c1 one last pass for polishing all layers. layout and text tweaks 2020-06-17 14:01:05 -07:00
Dustin Carlino
d2c674eb9a per suggestion of a cugos member, color all parked cars the same. distinguishing moving cars is helpful, but not parked ones 2020-06-17 11:15:14 -07:00
Dustin Carlino
82ba62df29 quick round of refactoring layer code 2020-06-17 10:56:06 -07:00
Dustin Carlino
1d252bbc40 cleaning up the last of Colorer, and quick_menu too while I'm at it 2020-06-17 10:36:18 -07:00
Dustin Carlino
140ee166be refactoring more color scale stuff 2020-06-16 15:28:17 -07:00
Dustin Carlino
52470ed9ff switching to proper gradients for heatmaps too 2020-06-16 14:33:20 -07:00
Dustin Carlino
dd84087398 cleaning up more layers. got rid of ::scaled finally. refactoring
percentile handling. got rid of old color scales
2020-06-16 12:51:06 -07:00
Dustin Carlino
458b44bef9 tearing down Colorer::scaled in favor of a newer, simpler thing. also
switching more layers to a monochrome gradient. just a first step...
2020-06-16 11:38:43 -07:00
Dustin Carlino
0477d38c09 consistently showing layers while zoomed. it's useless in some cases,
but helpful in many. just need to find a better way to show detail on
lanes.
2020-06-16 09:54:15 -07:00
Dustin Carlino
50de52439f tune wording of tutorial. finally introduce the drone [rebuild] 2020-06-15 17:33:37 -07:00
Dustin Carlino
647eb99fe6 put the intro story in front of the tutorial 2020-06-15 16:01:17 -07:00
Dustin Carlino
851237bed5 clamp minimap recentering a bit better [rebuild] 2020-06-15 14:25:04 -07:00
Dustin Carlino
6c1fdcace1 overhaul worst traffic jam layer 2020-06-15 14:07:16 -07:00
Dustin Carlino
c1e1a9c37d refactoring some gradient lerping stuff 2020-06-15 13:11:54 -07:00
Dustin Carlino
a86ef0fa12 start revamping layers. for delay, have zoomed and unzoomed views. always use gradients. 2020-06-15 12:51:32 -07:00
Dustin Carlino
bfaefe1df3 implement new, better word wrap. remove the old way. applied everywhere
except tutorial instructions, since those need rewriting soon anyway
2020-06-15 11:42:09 -07:00
Dustin Carlino
d1695e904e trigger [rebuild] 2020-06-14 19:20:14 -07:00
Dustin Carlino
915c734849 organizing layer picker 2020-06-14 13:59:58 -07:00
Dustin Carlino
501b65c1e6 finishing up signal editor arrow outlines 2020-06-14 13:28:15 -07:00
Dustin Carlino
64fba66e42 add links to proposal write-ups and adjust the UI for that page 2020-06-14 13:04:28 -07:00
Dustin Carlino
5cda64d6fd adjusting start/end marker icons 2020-06-14 12:32:44 -07:00
Dustin Carlino
d437152be4 add an intro story cutscene to motivate the whole game [rebuild] 2020-06-13 20:44:46 -07:00
Dustin Carlino
57651fd270 fix crash with loading edits. still draw modified layer in edit mode.
communicate autosaving a bit better
2020-06-13 16:37:13 -07:00
Dustin Carlino
d92f4536e2 introduce superblock proposal [rebuild] 2020-06-12 21:14:09 -07:00
Dustin Carlino
7cc8c4724a start reviving the edit mode changelist. time is a flat circle? 2020-06-12 18:21:30 -07:00
Dustin Carlino
01d55991c8 quick fixes after meeting:
- tweaks to demand panel
- put missing turns first
- "before changes" -> "before 'edits name'"
2020-06-12 15:40:47 -07:00
Dustin Carlino
75fa0b8373 recenter minimap when dragging until the camera is out of frame 2020-06-12 13:00:45 -07:00
Dustin Carlino
c20a8ea36b tuning plot appearance: labels, grid, titles, bg and outline 2020-06-12 12:12:01 -07:00
Dustin Carlino
14c7518787 break down delay by agent 2020-06-12 11:37:12 -07:00
Dustin Carlino
e059ebdb36 starting to fix up signal editor colors. simple bugfix to maybe prevent
all cases of turn icons overlapping? [rebuild]
2020-06-11 18:12:11 -07:00
Dustin Carlino
269bdc9171 dont force reset from midnight in survivor mode! 2020-06-11 16:30:31 -07:00
Dustin Carlino
4e746cc033 more carefully ban some edits in survivor mode 2020-06-11 15:24:46 -07:00
Dustin Carlino
dfb9e7e349 move gameplay meters to the side. also start capturing logs for linux
and mac too
2020-06-11 14:55:56 -07:00
Dustin Carlino
be3b93625d dont compute pathfinding upfront by default. [rebuild] 2020-06-11 12:20:51 -07:00
Dustin Carlino
294a619407 improve minimap from yuwen's ideas [rebuild] 2020-06-11 11:49:00 -07:00
Dustin Carlino
906566c05b er, unbrick clicking on the minimap. and get rid of the uselss pan buttons [rebuild] 2020-06-10 14:10:55 -07:00
Dustin Carlino
aa5288d1b7 try a much more aggressive minimap [rebuild] 2020-06-10 13:54:08 -07:00
Dustin Carlino
4495d5a1dc use persistent split in edit mode 2020-06-10 12:16:20 -07:00
Dustin Carlino
0cff318d0a start a layer to compare delay. needs work. 2020-06-10 11:04:48 -07:00
Dustin Carlino
bd19f4c7db be able to see private parking spots, but not by default 2020-06-09 18:28:32 -07:00
Dustin Carlino
727bd3deb9 pick better colors for borders 2020-06-09 18:23:22 -07:00
Dustin Carlino
ffc9da9c3d cut out old debugging from scenario debugger. popdat viewer and the WIP commute map re better 2020-06-09 17:47:34 -07:00
Dustin Carlino
e9355f0b64 using a proper gradient for comparing thruput! [rebuild] 2020-06-09 17:13:08 -07:00
Dustin Carlino
cb829558b4 adjust jump-to-time UI 2020-06-09 15:58:52 -07:00
Dustin Carlino
c34034a016 now we can add a meter showing the currently worst intersection 2020-06-09 15:35:45 -07:00
Dustin Carlino
c54128e9d2 now we can properly detect score in traffic sig challenge 2020-06-09 15:11:07 -07:00
Dustin Carlino
287d56efd9 generalizing the old gridlock checker. removing unused savestate_every
support. reimpl it later using the callbacks if needed.
2020-06-09 14:29:35 -07:00
Dustin Carlino
2445bddeb9 prepping to work on sim step 2020-06-09 12:39:31 -07:00
Dustin Carlino
17ea321d75 fix dropdowns getting clobbered in a few layers 2020-06-09 10:11:25 -07:00
Dustin Carlino
e87b2aca05 fancier slider finally 2020-06-09 09:45:46 -07:00
Dustin Carlino
6a875d9ec0 add task popup and hints to commute challenge. retune optimize challenge [rebuild] 2020-06-08 17:05:29 -07:00
Dustin Carlino
6e40fddb08 hint 2020-06-08 15:52:02 -07:00
Dustin Carlino
4975260911 adding challenge task description, independent of cutscene 2020-06-08 15:17:40 -07:00
Dustin Carlino
03c63ab34d working on new cutscene UI 2020-06-08 13:25:21 -07:00
Dustin Carlino
0a6fba0397 adjust signal editor layout 2020-06-08 12:33:28 -07:00
Dustin Carlino
f8f815d094 tightening up more tutorial stages:
- spawn a better amount of trips for low parking
- adjust contention stage so there's only one real problem to fix

also try to fix building the new clipboard dep [rebuild]
2020-06-07 16:59:20 -07:00
Dustin Carlino
863593708a tool to copy OriginalLane to clipboard. also fix wasm build breakage [rebuild] 2020-06-07 16:25:42 -07:00
Dustin Carlino
c2563ae15f fix the escort tutorial stage once and for all. fixes #52 [rebuild] 2020-06-07 12:39:14 -07:00
Dustin Carlino
7529809978 omit wheels instead of crashing when polyline shifting gets really wonky 2020-06-07 11:39:45 -07:00
Dustin Carlino
ce66d6aaf6 fix starting from a savestate on the CLI 2020-06-07 11:31:56 -07:00
Dustin Carlino
2c67eaf4ef just kick off a [rebuild] 2020-06-07 09:40:45 -07:00
Dustin Carlino
fafcf57240 make most offstreet spots private 2020-06-06 18:37:20 -07:00
Dustin Carlino
dd9d4317ab stop mapping everything to roads in parking layer 2020-06-06 17:54:55 -07:00
Dustin Carlino
b15664727d flesh out info panels for parking lots 2020-06-06 14:23:47 -07:00
Dustin Carlino
65b500509e make peds use front paths for parking lots too 2020-06-06 14:04:09 -07:00
Dustin Carlino
a643f039ad most of the sim changes to use parking lots! need to work on pedestrians
using the front paths
2020-06-06 13:42:39 -07:00
Dustin Carlino
051d6bca24 finish cleaning up geombatch apis 2020-06-05 21:01:03 -07:00
Dustin Carlino
63067656b8 whittle away weird geombatch APIs. more left 2020-06-05 11:14:17 -07:00
Dustin Carlino
0b1760cbce add OSD to bulk select UI, fill in intersections too 2020-06-05 06:55:43 -07:00
Dustin Carlino
1401c1b415 prototype a lasso select 2020-06-04 17:18:57 -07:00
Dustin Carlino
07d931d9f8 same for roads 2020-06-04 15:54:17 -07:00
Dustin Carlino
abc5379b81 new idea for building labels 2020-06-04 15:40:17 -07:00
Dustin Carlino
7bc78905ca full CRUD for markers 2020-06-04 12:59:28 -07:00
Dustin Carlino
bd17ebaf8e fleshing out story map editor more 2020-06-04 12:05:26 -07:00
Dustin Carlino
957ee65fc9 starting to place markers for story map. cleaning up inconsistent order
of (app, ctx)
2020-06-04 11:00:19 -07:00
Dustin Carlino
a3724e4b4d boilerplate for a story map editor. also make close buttons consistent 2020-06-03 21:52:54 -07:00
Dustin Carlino
1b774b13b0 reviving tutorial...
- pick another building, now that the montlake market is demolished
- layouting (i understand flexbox now \o/)
- finally listen to reason and get rid of the extra "inspect" action.
  not many per-object actions remaining at this point
- handle window resizing much better, making the --tutorial flag useful
  again
2020-06-03 17:38:02 -07:00
Dustin Carlino
bf426bb6d1 the last spawner bug: handle parking blackholes 2020-06-03 13:45:29 -07:00
Dustin Carlino
6482772b73 lots of bug fixes in spawner involving borders, invalidating paths when
changing modes
2020-06-03 13:37:34 -07:00
Dustin Carlino
e1cfd52e32 always spawn buses. otherwise can't really interactively spawn agents and have buses at the same time 2020-06-03 12:55:40 -07:00
Dustin Carlino
ea6a5c0f9d encode parking spots cheaply, compute up-front 2020-06-03 11:50:46 -07:00
Dustin Carlino
b69d155812 clipping parking aisles to the lots, in most cases 2020-06-03 10:51:59 -07:00
Dustin Carlino
971ee0f819 cleaning up the parking lot rendering a bit 2020-06-02 15:59:26 -07:00
Dustin Carlino
d4e5acd4e3 improve parking space inference. expose the estimated count 2020-06-02 14:43:07 -07:00
Dustin Carlino
b497a9926f start rendering parking aisles. lots of issues to cleanup, but VERY
solid start
2020-06-02 13:30:37 -07:00
Dustin Carlino
d7ecb133b9 select lane->road zoomed in for bulk select 2020-06-02 12:24:52 -07:00
Dustin Carlino
0ed3dff0a1 shortcut to starting a trip 2020-06-02 11:14:26 -07:00
Dustin Carlino
749d0809f7 fold in the intersection spawning controls a bit 2020-06-02 11:04:06 -07:00
Dustin Carlino
0f608da151 detect parking lots overlapping roads too 2020-06-01 18:42:54 -07:00
Dustin Carlino
b7a679868f adjusting UX of spawner tool 2020-06-01 18:35:59 -07:00
Dustin Carlino
11e9435e68 subsuming the tool for spawning multiple agents 2020-06-01 18:23:52 -07:00
Dustin Carlino
2e25c77f36 nix the old single agent spawner in favor of the new, simpler thing 2020-06-01 17:44:36 -07:00
Dustin Carlino
aceadef79f refactoring some trip spawning stuff from importer, using it in the new agent spawner too 2020-06-01 17:37:54 -07:00
Dustin Carlino
ac752fccfe working on new agent spawner 2020-06-01 17:04:31 -07:00
Dustin Carlino
30eafea94a start representing OSM parking lots in the map model and rendering layer 2020-06-01 12:51:14 -07:00
Dustin Carlino
4a06806a3d starting a new UI for spawning agents. just some boilerplate 2020-06-01 11:02:33 -07:00
Dustin Carlino
49dee41b3c bin Counter values based on value, handling dupes. particularly
noticeable for bike lane layer
2020-06-01 09:35:29 -07:00
Dustin Carlino
855d8f4d22 update glutin, winit, glium now that a fix for linux startup time is upstreamed in glutin. and a few other packages too. ditch geo-offset dependency, since it uses old versions and isn't being used yet 2020-06-01 09:18:17 -07:00
Dustin Carlino
1161591b6b fix bike layer when there's no traffic yet 2020-05-30 13:12:57 -07:00
Dustin Carlino
204b2962b1 add a debug tab to try to understand people's schedules better 2020-05-29 16:37:12 -07:00
Dustin Carlino
27179ee87d better faces. go back to hiding a few things in debug mode [rebuild] 2020-05-29 13:09:46 -07:00
Dustin Carlino
2bb36124bd add random nicknames to people 2020-05-29 11:37:21 -07:00
Dustin Carlino
f9d9011aad fiddle with drawing order so intersections underneath bridges dont look so strange unzoomed 2020-05-29 10:12:50 -07:00
Dustin Carlino
b7790dca40 start doing screenshot diff tests for udistrict and downtown too 2020-05-29 08:00:59 -07:00
Dustin Carlino
feb7bc6409 adjust downtown boundary. remove redundant caphill and ID [rebuild] 2020-05-28 21:49:44 -07:00
Dustin Carlino
78a38a3fea slightly adjust lakeslice boundary. remove 23rd map. [rebuild] 2020-05-28 21:15:28 -07:00
Dustin Carlino
8b7d93c64e robustify city picker 2020-05-28 17:17:50 -07:00
Dustin Carlino
239bf74121 cutover to new city picker 2020-05-28 14:42:07 -07:00
Dustin Carlino
42a35c736a starting a city region picker 2020-05-28 14:11:34 -07:00
Dustin Carlino
fd622e3d50 improve a few layers 2020-05-28 12:54:15 -07:00
Dustin Carlino
349f721621 add a tool to find buildings touching roads 2020-05-28 10:04:58 -07:00
Dustin Carlino
156e784f6c trim down WrappedComposite in pregame. start proposals with edits layer 2020-05-28 09:33:57 -07:00
Dustin Carlino
222695423e start organizing all the use cases / ideas 2020-05-27 16:21:15 -07:00
Dustin Carlino
d67e7f4090 less awful bus stop rendering 2020-05-27 15:05:29 -07:00
Dustin Carlino
ff40eb2d4c use lttb to downsample points for jump-to-time. looks better and is
simpler to reason about!
2020-05-27 12:17:45 -07:00
Dustin Carlino
c119ca710f fix lots of layouting! exact_size_percent can play well with scrolling 2020-05-27 11:52:57 -07:00
Dustin Carlino
9c862542fc give up on fancy uber-turn icons, just use simple arrows 2020-05-27 09:38:42 -07:00
Dustin Carlino
fe15eae82e add slight border to buildings. makes distinguishing adjacent buildings much easier. 2020-05-26 16:18:02 -07:00
Dustin Carlino
10bc4b9c32 try showing delay measurements as a raw scatter plot 2020-05-26 14:59:20 -07:00
Dustin Carlino
8d0981587a cache path geometry for open trips 2020-05-26 13:38:14 -07:00
Dustin Carlino
34e454a92e tool to find divided highways in OSM, which often require fixes 2020-05-26 09:43:12 -07:00
Dustin Carlino
81ff8e7686 switch traffic lights to a yellow light for the last 5s 2020-05-26 08:25:41 -07:00
Dustin Carlino
6ae43fb038 draw wheels on cars 2020-05-25 18:33:57 -07:00
Dustin Carlino
608d8cad4f breathe life into the little buggers 2020-05-25 17:10:15 -07:00
Dustin Carlino
245e4c5c11 fade signal things to show a phase is about to end 2020-05-25 12:40:39 -07:00
Dustin Carlino
fead830f5c only trim traffic signal arrows when there's a crosswalk... except the
detection isn't right yet :\
2020-05-25 12:32:42 -07:00
Dustin Carlino
17e5ee4109 per julian, display hotkeys in layers list 2020-05-25 11:44:40 -07:00
Dustin Carlino
c4e1f449d8 make the 'closest parking' a little more obvious 2020-05-25 11:20:38 -07:00
Dustin Carlino
6f2c88eccc lift phase controls out of a menu 2020-05-25 11:11:26 -07:00
Dustin Carlino
390a6d23d4 omit summary dash without prebaked data, more dpi fixes [rebuild] 2020-05-24 13:04:57 -07:00
Dustin Carlino
d3ade25c9f fix a few DPI issues yuwen found, most caused by creating screen-space
geometry based on percentge of window width
2020-05-24 12:39:41 -07:00
Dustin Carlino
8c77cdd889 validation for naming edits. fixes #35. also improve how wizards manage
textboxes when parsing fails
2020-05-24 11:52:32 -07:00
Dustin Carlino
2aebf31669 remove shortcuts feature. UX has issues -- need proper way to edit, delete, reorder shortcuts. never seen clear use case for this. fixes #37, #38, #39 2020-05-24 11:35:52 -07:00
Dustin Carlino
71c1ff3fe1 just clean up old gridlock challenge. will revive soon, properly. 2020-05-24 11:31:55 -07:00
Dustin Carlino
47e6a6b76a clean up old design notes 2020-05-24 11:07:29 -07:00
Dustin Carlino
ba2f8f8208 open bing streetside from parking mapper 2020-05-23 15:22:50 -07:00
Dustin Carlino
c47cd5b9b6 improving the street finder 2020-05-23 14:14:06 -07:00
Dustin Carlino
967c8929e3 cleanup after PR, and start to wittle down EventLoopMode to handle
multiple types of update events
2020-05-23 11:23:38 -07:00
Javed Nissar
c34fe4f2c7
Resolve #11 by panning map when cursor is at edge of screen (#57) 2020-05-23 10:42:59 -07:00
Dustin Carlino
f644d5e444 per advice from another OSM mapper, add a default maxstay of 3 days to mapped parking 2020-05-23 10:05:12 -07:00
Dustin Carlino
ce7d28b188 add a button to give feedback [rebuild] 2020-05-22 14:48:26 -07:00
Dustin Carlino
6bde4d231d working on yuwen's paint select improvements 2020-05-22 14:26:20 -07:00
Dustin Carlino
490df9675c draw islands. in particular, harbord island! 2020-05-21 18:15:48 -07:00
Dustin Carlino
3dba07e97c detect roads beneath bridges, lower their zorder. adjust min zoom 2020-05-21 16:31:43 -07:00
Dustin Carlino
bcd5d39626 auto detect clusters of signals, seed the UI with that 2020-05-21 10:00:57 -07:00
Dustin Carlino
f2cf734bdc update parking mapper to distinguish no_parking and no_stopping 2020-05-20 15:58:57 -07:00
Dustin Carlino
59c407c44e slightly improving uber turn group icons. this is hard. 2020-05-20 15:54:26 -07:00
Dustin Carlino
d3c4b0b26a start grouping uber-turns together, to make editing clusters of signals sane. very basic first steps. 2020-05-20 14:01:19 -07:00
Dustin Carlino
e0d33e22f6 add the route preview to the parking tab too, and show start/end pos 2020-05-20 13:12:38 -07:00
Dustin Carlino
ba5d776bd0 draw a minimap with route preview below the trip table 2020-05-20 12:26:56 -07:00
Dustin Carlino
4c62f79052 optionally adjust size of unzoomed agents 2020-05-20 11:12:43 -07:00
Dustin Carlino
95efd40053 new osm with lots of parking fixes and a vital new turn restriction.
23rd now finishes!
2020-05-20 10:54:22 -07:00
Dustin Carlino
ddf6de5f59 stop dependending directly on serde_derive 2020-05-19 15:06:32 -07:00
Dustin Carlino
90bc73580d the 'has the coffee really kicked in yet' change: make the contraction hierarchy prevent illegal uber-turns. probably doesnt properly handle changing lane types inside a cluster yet. 2020-05-19 14:03:01 -07:00
Dustin Carlino
2120035d26 move intersection demand layer to info panel 2020-05-19 11:55:28 -07:00
Dustin Carlino
977d78775d filter for legal or illegal uber-turns 2020-05-18 18:18:46 -07:00
Dustin Carlino
e2e4ddab2f tool to visualize uber-turns 2020-05-18 17:44:46 -07:00
Dustin Carlino
ac459fd8e8 dismantle old Layers enum 2020-05-18 15:06:25 -07:00
Dustin Carlino
91872bcc6d convert the last of layers to the trait 2020-05-18 14:57:18 -07:00
Dustin Carlino
38d7d4d502 converting more. have to rethink event/update 2020-05-18 14:24:23 -07:00
Dustin Carlino
0fee333054 introduce the layer trait. convert a few of the easier ones 2020-05-18 13:36:28 -07:00
Dustin Carlino
cb07b6b9d3 ditch managed gui state for layer picking 2020-05-18 12:54:09 -07:00
Dustin Carlino
2ee3d7e247 working towards a layer trait. Inactive -> None 2020-05-18 12:46:39 -07:00
Dustin Carlino
41e80b48a1 fix a few buttons that dont immediately redetect mouseover after clicking, and fix a crash when trying to click out of autocomplete 2020-05-18 10:30:58 -07:00
Dustin Carlino
fa1273bd34 more dpi fixes:
- margin and padding
- Widget::draw_batch
- trip timeline
- custom buttons

and finally enable automatically setting DPI based on the monitor!!!
[rebuild]
2020-05-17 17:02:33 -07:00
Dustin Carlino
2f1b274276 for different DPIs, don't scale SVGs in map-space, only in screen-space. 2020-05-17 15:40:04 -07:00
Dustin Carlino
1a24fc7fab refactor osmosis polygon reader 2020-05-17 09:49:03 -07:00
Dustin Carlino
8733751357 shortcut in parking mapper 2020-05-16 18:11:15 -07:00
Dustin Carlino
6b5ee1c2e5 stop drawing turn signals for cars trying to change lanes. highly misleading. 2020-05-16 17:39:16 -07:00
Dustin Carlino
57b8843a18 dont pause after returning to sandbox mode. common complaint from people. 2020-05-16 17:37:54 -07:00
Dustin Carlino
06c6f5799f conveniently switch maps in devtools mode 2020-05-16 14:19:37 -07:00
Dustin Carlino
a362c73689 plumb trips per parcel tooand add more queries, make a kml chooser 2020-05-16 13:24:58 -07:00
Dustin Carlino
20f8548634 debug association between soundcast parcels and buildings 2020-05-16 12:36:10 -07:00
Dustin Carlino
2d69392e9c move the kml debugging to a separate mode 2020-05-16 11:58:55 -07:00
Dustin Carlino
1c3073d0e2 work on getting the udistrict to run better. add options to handle
outliers in the heatmap
2020-05-15 16:46:12 -07:00
Dustin Carlino
ca33695431 get rid of raw thruput_stats. in-game throughput plots are a little
different now, but everything's still usable, and this takes us down
from 342MB + 39MB to 74MB + 11MB for prebaked data! include lakeslice
prebaked results in releases now [rebuild]
2020-05-15 15:07:42 -07:00
Dustin Carlino
a0a7cb1c4e start cleaing up thruput stats. remove the ability to change window size 2020-05-15 14:25:10 -07:00
Dustin Carlino
7ff5e870d0 fix loading edits when other edits are loaded. include west seattle in
release. [rebuild]
2020-05-15 12:25:02 -07:00
Dustin Carlino
e337be20be reintroduce the bulk lane editor using the new selectors 2020-05-15 11:47:05 -07:00
Dustin Carlino
b0d02cf1ba dedicated button to delete a phase 2020-05-14 12:38:33 -07:00
Dustin Carlino
544fbce542 stop cloning suspended sim everywhere, its noticeably slow in large maps 2020-05-14 12:19:46 -07:00
Dustin Carlino
95a0f2f620 working on west seattle 2020-05-14 12:03:19 -07:00
Dustin Carlino
9f78766ee6 try brian's signals. making them the default to get used to them, but
not updating screenshot goldenfiles yet
2020-05-13 15:31:29 -07:00
Dustin Carlino
cd3100e561 refactor some polyline methods for dashed rendering 2020-05-13 14:35:59 -07:00
Dustin Carlino
dd99936fa0 also scrape amenities from buildings themselves. make an 'other'
category
2020-05-13 13:58:15 -07:00
Dustin Carlino
26d12e5d75 include breakdown by type of amenity 2020-05-12 13:15:25 -07:00
Dustin Carlino
3145326207 start a tool to understand popular destinations. remove dot map,
superceded by live population map
2020-05-12 12:54:35 -07:00
Dustin Carlino
d7df50ab37 make a one-command version of the importer. remove barranquilla and LA,
since they can just be handled by the oneshot tool, and arent being
actively used yet
2020-05-12 10:27:07 -07:00
Dustin Carlino
e61cf5f8c3 dont panic when generating osc 2020-05-12 10:00:49 -07:00
Dustin Carlino
4a7ea37ee9 add missing amenities; the shop tag was being ignored 2020-05-12 09:28:14 -07:00
Dustin Carlino
38af46c320 add a layer to try to classify building types 2020-05-11 19:08:15 -07:00
Dustin Carlino
b61a2227b4 expose parking mapper [rebuild] 2020-05-11 14:35:09 -07:00
Dustin Carlino
4816e5fe8f filling out the parking mapper 2020-05-11 12:18:19 -07:00
Dustin Carlino
d55ebb71ca starting a dedicated OSM mapping mode for parking in the main game, not map_editor 2020-05-11 10:45:36 -07:00
Dustin Carlino
c6f34de3d7 add udistrict map. lots of work before this will run reasonably 2020-05-10 22:01:52 -07:00
Dustin Carlino
dbf4b15959 start to figure out where to compress Analytics [rebuild] 2020-05-10 16:08:45 -07:00
Dustin Carlino
5ae94168f6 fix mt baker a little, at least get the north half of i90 included. lots
of jams along rainier.
2020-05-10 15:49:24 -07:00
Dustin Carlino
d6963667ea make MIN_ZOOM_FOR_DETAIL configurable. different value is really nice when thwarting gridlock 2020-05-10 11:10:12 -07:00
Dustin Carlino
182f5139a5 rip out old mapfixes code. pure OSM is more maintainable. keep map_editor for drawing synthetic maps and debugging raw maps 2020-05-10 10:39:08 -07:00