Dustin Carlino
de5b7e7d43
Adjust colors and tooltips for multi road editor. #718
2021-07-26 12:59:45 -07:00
Dustin Carlino
9366116c9b
Add a location button to the road / multi road editor. #718
2021-07-26 12:50:20 -07:00
Dustin Carlino
07cce162c1
Experiment with 3 different asphalt colors. #715
2021-07-26 11:42:46 -07:00
Dustin Carlino
27135cabb4
Don't draw buildings on the minimap in the new color scheme. #715 It's too much detail for a small view, and the colors bleed into roads.
2021-07-26 11:37:58 -07:00
Dustin Carlino
743c7ae4f0
Start to turn the 'faded zoom' color-scheme into the emerging Streetcomplete scheme in #715 .
2021-07-26 11:31:22 -07:00
Dustin Carlino
c5e769d276
Start a very basic binary classifier for high-stress cycling road, with a layer to check it. Use this to filter the mode shift dashboard -- effectively revealing PCT-esque gaps in the infrastructure. #448 , #494
2021-07-26 10:48:00 -07:00
Dustin Carlino
06429d0d5f
In the mode shift dashboard, show roads that might be highly used by converted trips... but that're missing bike infrastructure. #448
2021-07-26 10:41:51 -07:00
Dustin Carlino
d03d1b1305
When you change a lane type, also adjust to the default width for the new type. #597 ( #714 )
2021-07-25 16:05:51 -07:00
Dustin Carlino
8b397c8f15
new release
2021-07-25 14:14:54 -07:00
Dustin Carlino
d015014bbc
Better curb rendering near shoulders. Towards the #715 vision. [rebuild] [release]
2021-07-25 13:29:54 -07:00
Dustin Carlino
835e4bf7a7
Iterate on the curb rendering for #715 . A simple start to it already happens to exist for an old color scheme experiment.
...
Still some issues with shoulders, but improved in many cases.
2021-07-25 13:08:14 -07:00
Dustin Carlino
8eeee4cb8e
Import fresh Seattle OSM, with a crazy intersection near the Burke consolidated and lots of cycletracks downtown deduplicated.
2021-07-25 12:34:20 -07:00
Dustin Carlino
7399f2aff2
Prettyprint durations with one decimal place, not two. Loading screens are a little too intense otherwise. This was changed in #699 because the variable name was wrong.
2021-07-25 10:53:57 -07:00
Dustin Carlino
0e472fcfcb
For the Overpass import, include ways that're only partly intersecting the polygon. Without this, the map has no borders. #523 , #717
...
I don't pretend to understand the Overpass query language, but I tried https://wiki.openstreetmap.org/wiki/Overpass_API/Advanced_examples#Completed_ways.2C_but_not_relations and it seems to work!
2021-07-25 10:42:57 -07:00
Dustin Carlino
1d7149c18b
Don't crash in the activity model generators if a map has no borders. This currently happens with Overpass imports. #717
2021-07-25 10:30:06 -07:00
Dustin Carlino
0bce76e172
Parallelize commuter pattern calculation, to speed up the new concave hull algorithm on native
2021-07-25 10:20:27 -07:00
Michael Kirk
760d75e12a
Use concave hull for neighborhoods ( #716 )
...
Also, for sidewalks, interpolate points every n-meters to get a better
concave hull.
2021-07-25 10:11:12 -07:00
Dustin Carlino
1a8eecb2ac
Remove old color scheme experiments. They're no longer interesting and just clutter the codebase, making big changes like #715 harder to manage
2021-07-23 19:20:36 -07:00
Dustin Carlino
b45f9e0134
Create new lane types to express different types of buffers for prote… ( #704 )
...
* Create new lane types to express different types of buffers for protected bike lanes. They're only created manually right now, to explore rendering.
* Update planter rendering
* Update planter - simplify
* fmt after merge
* Fixing up existing rendering
* Add curb buffer
* Adjust stripes
Co-authored-by: Robin Lovelace <rob00x@gmail.com>
2021-07-23 11:31:36 -07:00
Dustin Carlino
1d7c8ce89c
Opt Tempe into infinite parking always. #672
2021-07-21 15:13:13 -07:00
Dustin Carlino
788bd99549
Consolidate two more crazy Tempe junctions in OSM. #672
2021-07-21 15:02:05 -07:00
Dustin Carlino
2538309c76
Automatically look for short roads near traffic signals and opt them into merging! #654
...
Manually invoked heuristic for the moment, and has some issues, but a
start.
2021-07-21 11:34:04 -07:00
Dustin Carlino
1f4124ee64
Handle clusters of merging short roads in the "interior" of a complex
...
intersection. This often happens with a group of 4 intersections (two
divided highways), and there may be many small segments embedded in the
middle for street car tracks and such.
Also bring in fresh OSM for Tempe, with one such intersection now
consolidated! #654 , #672
2021-07-20 14:22:00 -07:00
Dustin Carlino
c5210e9887
Actually, keep the broken list of ways, to manually run with backtraces
2021-07-20 11:36:53 -07:00
Dustin Carlino
8dff4c5da5
If we fail to merge a road from debug mode, rollback the change to the JSON list of ways to merge. #654
2021-07-20 11:21:38 -07:00
Dustin Carlino
6f549e5747
Debug how roads are being ordered around an intersection, and restore map_editor's ability to preview one intersection with the debugging geometry. #654
2021-07-20 10:08:02 -07:00
Dustin Carlino
ab83fd0f75
Consolidate a bunch of intersections in Tempe! #672 , #654
2021-07-19 15:31:33 -07:00
Dustin Carlino
d10d8ceb33
Clean up code and regenerate everything with new the consolidation algorithm... #654
...
Phinney gridlocks again; 68daa6884a
was
too ambitious. Otherwise all fine!
2021-07-19 15:07:10 -07:00
Dustin Carlino
c7b6c11e37
Fix the wacky endpoint order for Montlake/520 with a more careful definition of center.
2021-07-19 15:07:10 -07:00
Dustin Carlino
c28fef1752
By the power of my Mammal Hands, I will figure this out. #654
2021-07-19 15:07:10 -07:00
Dustin Carlino
68daa6884a
Phinney and Wallingfjord don't gridlock right now, so opt them back into prebaked results
2021-07-18 22:58:22 -07:00
Dustin Carlino
e6f72449f4
Some fixes to get the Arboretum trails connected.
...
- Grab fresh Seattle OSM, picking up https://www.openstreetmap.org/changeset/108071529
- Treat highway=footway, bicycle=dismount as a cyclepath, for now
- Treat service=driveway, bicycle=designated as a cyclepath
Since this requires regenerating all maps anyway, also include some
stuff to improve Aurora near Green Lake:
- stop making highway lanes super wide by default; they just make
divided highways overlap themselves
- filter out service roads with access=customers
But note the bridge from the Arboretum to Lynn is still disconnected,
because of detailed footway mapping that isn't tagged as
bike-accessible.
2021-07-18 20:52:41 -07:00
Dustin Carlino
3db706e7db
new release
2021-07-18 16:13:00 -07:00
Dustin Carlino
9b40186c9c
Avoid crashing when editing a stop sign near a tiny road. #707 [rebuild] [release]
2021-07-18 14:20:24 -07:00
Dustin Carlino
98978fa600
Remember which dashboard was open, and return to it when pressing 'more
...
data.' This makes it slightly less jarring to click on a specific trip
in a table or matrix, then return to the dashboard. Future work will
also remember filters/pagination of individual tables, maybe! (Since the
dashboards change over time, this might be weird.)
This also required adding a proper way to pick the dashboard from two of
the full-screen map dashboards. Otherwise, somebody would pick them and
get stuck!
2021-07-18 14:14:19 -07:00
Dustin Carlino
f6a94e8a58
Allow DrawWithTooltip to return custom data instead of string labels.
...
CloneableAny revived from e35c69f6f3
2021-07-18 14:14:19 -07:00
Dustin Carlino
ceff520ff4
Use the unedited map for elevation when viewing before edits. Fixes a crash when turns don't exist.
2021-07-18 14:14:19 -07:00
Dustin Carlino
2354ffa59d
Don't make cells with 0 entries clickable
2021-07-18 14:14:19 -07:00
Dustin Carlino
3d355f720c
Clean up CityPicker code using DrawWithTooltips
2021-07-18 14:14:19 -07:00
Dustin Carlino
942f2292fc
Steps towards clicking cells in the problem matrix to explore trips with differences. #600
...
- Add optional clickable labels to DrawWithTooltips
- Wire up problem_matrix to remember the list of trips associated with
each cell
- When clicking a cell, just open one arbitrary example trip
2021-07-18 14:14:19 -07:00
Dustin Carlino
db435cd56d
Use the quick fix to https://github.com/easbar/fast_paths/issues/34 to
...
dramatically improve time to import and edit maps.
The fix helps all maps that use extremely high edge weights to prevent
people from cutting through private roads. There may be a more robust
fast_paths fix later, but I want to reap the benefits for tomorrow's
release.
The dramatic numbers:
- importing huge_seattle: 893s down to 108s
- editing huge_seattle: 102s down to 19s
Query speeds didn't appear to substantially change.
2021-07-17 22:33:01 -07:00
Michael Kirk
f85f42a614
rebuild wasm when rust sources change
2021-07-17 11:24:46 -07:00
Dustin Carlino
d142b4fbd0
Refactor lots of the places walking along a PolyLine with a step size
...
Verified no behavioral change using the screenshot test. (Which only had
the driveway diff from b3ce53aa5f
)
2021-07-16 14:17:08 -07:00
Dustin Carlino
e1679998c1
Remove RawFileLoader and use a simple trick to avoid deserialization
...
instead. #377
See https://www.reddit.com/r/rust/comments/olodm1/how_to_grab_raw_vec8_bytes_from_serde/ ? for me explaining the problem and then immediately realizing the fix.
2021-07-16 13:33:31 -07:00
Dustin Carlino
9828006bcc
Avoid a crash when editing very short roads. #703
2021-07-16 12:53:37 -07:00
Dustin Carlino
816ae46943
Copy the file size progress bar to RawFileLoader too. #377
2021-07-16 11:25:27 -07:00
Dustin Carlino
76ecccf54b
When loading files on the web, print the received and total file size,
...
as a slightly better progress bar. #377
2021-07-16 11:25:27 -07:00
Dustin Carlino
16f7796c68
Comparing paths before/after edits requires the unedited map.
...
Previously, this was done through an incredibly complicated dance of
loading the map file again when needed. This was slow (especially on
web!), made the InfoPanel API have a bizarre edge case, and even had
some way of crashing if you open a trip panel in some situation.
Rip all that nonsense out. The unedited map can just be cloned before
applying the first edit.
2021-07-15 23:01:35 -07:00
Dustin Carlino
4cfb06da97
Make the Map cloneable, by being careful with the thread-local pathfinder state.
...
I think this will help simplify calculate_unedited_map. But even if not,
this is bound to come in handy.
2021-07-15 18:34:42 -07:00
Dustin Carlino
ff310af3d1
Consistently follow rules for whether a lane can be edited. #597
...
Allow sidewalks, shoulders, and center turn lanes to be edited now.
Still don't touch service roads or light rail.
2021-07-15 18:21:49 -07:00