Dustin Carlino
460c03e75c
Trace blocks starting from roads without sidewalks on both sides
2022-02-24 20:10:33 +00:00
Dustin Carlino
cec9b785dd
Quickly sketch desired LTN cells freehand!
2022-02-24 10:36:47 +00:00
Dustin Carlino
b07177c21a
Fix crash in the LTN and Ungap pathfinding tool, introduced in
...
2bf7ce232a
2022-02-24 09:47:10 +00:00
Dustin Carlino
82dff217a5
When the lasso tool is active, change the panel to explain the interaction
2022-02-24 09:33:12 +00:00
Dustin Carlino
bf6c5a75e9
Make the lasso tool show the polygon as it's being drawn, so it's way more clear what's going to happen
2022-02-24 09:33:12 +00:00
Dustin Carlino
13f3a7af73
Add a tool to quickly expand an LTN boundary by freehand lasso. #857
2022-02-24 09:33:12 +00:00
Dustin Carlino
78e4fc3f80
Make the lasso tool (buried in an old experiment in story mapping) a bit more usable, and lift it to widgetry
2022-02-24 09:33:12 +00:00
Dustin Carlino
9c0aedb575
When we can help it, don't shift road polylines twice. #860
2022-02-23 18:46:42 +00:00
Dustin Carlino
2890e6efcc
Make the RawMap APIs for working with road center-lines less obnoxious
2022-02-23 15:27:27 +00:00
Dustin Carlino
7bb6132726
Open OSM from map_editor
...
(Move open_browser to widgetry)
2022-02-23 14:43:58 +00:00
Dustin Carlino
01e7c9c584
WIP
2022-02-23 14:31:31 +00:00
Dustin Carlino
ee314bf505
Add road labels to the boundary selection tool -- really need that context when colors otherwise cover stuff up
2022-02-23 14:11:42 +00:00
Dustin Carlino
8e076eb9ae
Organize LTN code a bit, moving the auto heuristics under the filters module
2022-02-23 13:53:44 +00:00
Dustin Carlino
2a1b1283f2
Manage multiple proposals in the LTN tool at the same time, letting the user fluidly switch between them. #765
2022-02-23 13:48:49 +00:00
Dustin Carlino
1ebc178225
Upgrade rfd
2022-02-22 17:35:58 +00:00
Dustin Carlino
6ddc35f5a8
Upgrade usvg and friends
2022-02-22 17:24:03 +00:00
Dustin Carlino
bf6ed53ec3
Upgrade winit and co. This appears to remove a bunch of duplicate old
...
versions of various transitive dependencies, so it should help compile
times a bit!
No behavioral diff that I can see, but the winit CHANGELOG is
formidable. I suspect there are platform-specific differences with
scroll speed/direction, initial window size behavior, etc that people
will slowly start reporting after the next weekly release.
2022-02-22 16:50:53 +00:00
Dustin Carlino
d141a2a810
Upgrade all geo dependencies! No behavioral difference
2022-02-22 16:45:49 +00:00
Dustin Carlino
ca5166107b
Disable parking for #861 to make it slightly easier to get meaningful results
2022-02-22 09:37:08 +00:00
Dustin Carlino
2e8d3970f5
Split out a CLI command to prebake one scenario for #861
2022-02-22 08:55:40 +00:00
Dustin Carlino
6590320571
Prebake results for São Miguel Paulista, so we can use all the differential dataviz #861
2022-02-21 21:16:49 +00:00
Dustin Carlino
cf27e48202
Import a scenario for São Miguel Paulista #861
2022-02-21 21:10:50 +00:00
Dustin Carlino
161269a952
Redraw filters after using the undo button
2022-02-21 09:58:29 +00:00
Dustin Carlino
e17c875954
Import Derby (and cheat to squeeze it into the 0.3.12 release that just happened)
2022-02-20 22:04:54 +00:00
Dustin Carlino
3531966052
Remove old tool for exporting roads to streetmix and shared-row formats. Nobody's ever used them, and now we're making https://github.com/a-b-street/osm2lanes that could have a translation layer if the need ever comes up. Closes #386
2022-02-20 19:17:43 +00:00
Dustin Carlino
bfe2709243
new release
2022-02-20 18:55:28 +00:00
Dustin Carlino
cb6a628149
When the pre-trimmed endpoint for a merged intersection is inexplicably not on a road's center line, just skip instead of crashing. This allows us to roll out the dog-leg intersection merging for many more maps and see pretty much universal improvement in map geometry! #654 [rebuild] [release]
2022-02-20 18:01:30 +00:00
Dustin Carlino
efe5f76bbe
Improve the dog-leg detection around dual carriageways. Enable this for
...
Montlake! #654
2022-02-20 16:43:15 +00:00
Dustin Carlino
d6508e9376
Work on the dog-leg heuristic. #654
...
Borders now seem to be skipped correctly.
Having a hard time skipping dual carriageways based on angle.
Aiming to enable first for Montlake, then gradually rollout to
individual maps, solving problems very incrementally and without
regressions.
2022-02-20 13:26:08 +00:00
Dustin Carlino
7728297f33
With fresh puppy dog eyes, detect dog-leg intersections yet again. #654
2022-02-20 12:31:36 +00:00
Dustin Carlino
4583dac399
Organize raw_map code a bit more. Let's cleanly separate the detection of short roads from transforming them. #654
...
And add a convenient script to diff changed maps. (Motivated by
preserving the fixpoint behavior in Montlake)
2022-02-20 12:08:52 +00:00
Dustin Carlino
58991ab041
Start to reorganize code that transforms RawMaps, particularly things that try to merge short roads #654
2022-02-20 11:31:05 +00:00
Dustin Carlino
2bf7ce232a
Port map_editor to the shared map-space World abstraction. #763
...
There may be small UX bugs, but the code is vastly simpler now, and all
main functionality works fine.
2022-02-20 11:01:57 +00:00
Dustin Carlino
8869365285
Fix a bug placing new buildings in the map editor, where IDs could collide if placed quickly in sequence
2022-02-20 10:43:58 +00:00
Dustin Carlino
6d3e3fdee1
Fix github build [rebuild] [release]
2022-02-19 18:19:43 +00:00
Dustin Carlino
e16e151b6a
Organize the 7 runnable apps under a subdirectory. #844 [rebuild] [release]
2022-02-19 18:17:08 +00:00
Dustin Carlino
03b6f39763
Flatten the raw_map initial module now
2022-02-19 17:48:39 +00:00
Dustin Carlino
14bea3a4be
Split out a raw_map crate from map_model. RawMap is the thing we turn
...
OSM and other raw input into and store, before later converting to a
Map.
Why?
- build-time performance: while iterating on geometry problems, map_editor in release mode took 33s to build before, 11s now that the crate is split
- better layering: operations on a RawMap are becoming increasingly distinct from later transformations on the bigger map model
- this helps tease apart the dependencies of the intersection polygon algorithm for #846
- this will make it simpler to cutover to osm2lanes for https://github.com/a-b-street/osm2lanes/issues/71
There's further reorganization in raw_map and map_model that'll follow,
but the main work is done here.
2022-02-19 17:39:28 +00:00
Dustin Carlino
7859304690
Draw road outlines in the map_editor; it makes it easier to work on geometry fixes
2022-02-19 15:32:13 +00:00
Dustin Carlino
f7f8f3fe54
Remove the dependency on map_gui from map_editor, letting it compile much faster. This unfortunately requires copying the CameraState code; I couldn't find an appropriate place to move that
2022-02-19 15:23:39 +00:00
Dustin Carlino
f14554f6b7
Lift URLManager from map_gui to widgetry
2022-02-19 15:14:53 +00:00
Dustin Carlino
aa48def2ba
Lift FileLoader and friends from map_gui to widgetry
...
(Very tricky dependency shuffling...)
2022-02-19 15:07:07 +00:00
Dustin Carlino
3b21bf6e87
Lift PopupMsg to widgetry
2022-02-19 14:38:26 +00:00
Dustin Carlino
244e82122c
Detect negative departure time in scenario JSON. #861
2022-02-18 16:30:48 +00:00
Dustin Carlino
54634e564a
Import São Miguel Paulista
2022-02-18 16:19:09 +00:00
Dustin Carlino
ad5425ea3c
Maybe I'll even remember to upload the regenerated data
2022-02-17 20:24:20 +00:00
Dustin Carlino
6a5366292f
Make editing maps with transit stops a little more resilient. #372
...
Transit stop IDs previously were tied to LaneIDs, but those can easily
change with edits to the number of lanes on a road. We still may need to
re-snap transit stops (if the driving position or sidewalk changes), but
this prevents one more common type of problem.
This requires regenerating everything, since it's a binary schema
change...
2022-02-17 20:18:24 +00:00
Dustin Carlino
0dc8972187
Fix editing maps that have public transit. #372
...
Back in #819 , I broke things by creating the sidewalk+transit graph
before transit routes had been set up. This causes immediate crashing
when editing the 2 maps with transit (Arboretum and SF).
2022-02-17 19:35:46 +00:00
Dustin Carlino
c750493f38
Avoid crashes with PolyLine shifting. #860
2022-02-17 14:19:38 +00:00
Dustin Carlino
4d9074571b
Regenerate 4 London maps. They wound up with parking lots and other
...
objects outside the study area boundary, because I changed the boundary
but forgot to first re-clip the .osm file. #794
2022-02-17 10:18:05 +00:00