Dustin Carlino
87dd029513
Improve one-shot map importing UI (partly motivated by #760 ):
...
- stop overwriting the one zz/overpass map by naming them differently
- allow a user-specified name too
- move the buttons to search all maps and import a new place to the top
of the ever-growing country list
2021-09-23 10:11:48 -07:00
Dustin Carlino
f17f4c2731
The mode shift funnel. #448
2021-09-21 15:19:18 -07:00
Dustin Carlino
e571ce3703
Don't crash when elevation enabled, but layers panel hidden
2021-09-21 10:29:22 -07:00
Dustin Carlino
4782dac84b
Hide layers panel by default, but also make it more easily toggleable. #743
2021-09-21 10:26:58 -07:00
Dustin Carlino
0d01906b08
Start rearranging the left panel, per Mara's design. #743
2021-09-21 10:14:16 -07:00
Dustin Carlino
632a527dbc
Consolidate the route results panel on the left side, as a first step towards Mara's design. #743
2021-09-21 09:09:34 -07:00
Dustin Carlino
774c068d9e
Track total mileage of mode shifted trips. Plug into a simple carbon formula! #448
2021-09-20 17:43:07 -07:00
Dustin Carlino
f06685ff20
Counting the number of mode shift trips that would make use of proposed edits. #448
...
Not updating when making edits yet, though!
2021-09-20 16:16:14 -07:00
Dustin Carlino
f14b7eb9e7
Calculating and showing network gaps, wiring up filters. #448
2021-09-20 14:42:02 -07:00
Dustin Carlino
3945528cf5
Start a 4th mode for the bike network tool: predicting impact, aka, mode-shift. #448
...
Just load the scenario and scrape data from it, to start.
2021-09-20 10:07:58 -07:00
Dustin Carlino
a93a4c3c08
Whoops, forgot the country name for #759
2021-09-19 16:27:53 -07:00
Dustin Carlino
1ec03d26ce
new release
2021-09-19 12:01:35 -07:00
Dustin Carlino
db5ceb1b40
Upload Zurich data from #759 [rebuild] [release]
2021-09-19 10:05:11 -07:00
Lorenz Schmid
f27d14a285
Add Zurich (CH) city
2021-09-19 10:01:32 -07:00
Gedalia Kott
d833f82c73
Fix Issue #692:settings for metric VS imperial distance units are repsected for distance
2021-09-18 14:06:32 -07:00
Gedalia Kott
19d74b46ac
simplify waypoints since much of its state can be computed lazily
2021-09-18 13:11:24 -07:00
Gedalia Kott
a851b1e52d
removes position enum, abstracts the way we assign text to waypoint icons, and cleans up syntax noise
2021-09-18 13:11:24 -07:00
Gedalia Kott
dc5398fa14
update the route panel waypoint icons with the same color as the map waypoints
2021-09-18 13:11:24 -07:00
Gedalia Kott
6030c1091e
refactor to remove idx and order from waypoint and instead interpret through containing vector
2021-09-18 13:11:24 -07:00
Gedalia Kott
21464f6034
complete implementation to change color of waypoints depending on the position in the list of waypoints
2021-09-18 13:11:24 -07:00
Gedalia Kott
7074fd2eb7
WIP: updates route waypoints with unique colors and static start and end colors
2021-09-18 13:11:24 -07:00
Dustin Carlino
2fc9010b1e
Fix some clippy warnings
2021-09-17 18:31:30 -07:00
Dustin Carlino
ca4ddeb7a5
Delete 3 old scripts used to mass-import maps. #745 [rebuild]
2021-09-17 18:29:23 -07:00
Dustin Carlino
642c87a845
Fix up references to the CLI tools in shell scripts and code. #745
...
[rebuild]
2021-09-17 18:29:23 -07:00
Dustin Carlino
c28dba4b47
Make the importer itself a library, called from the CLI tool. #745
2021-09-17 18:29:23 -07:00
Dustin Carlino
3fba6111de
Add a few more tools to the CLI, introducing tokio and making
...
one_step_import call library functions directly now. #745
2021-09-17 18:29:23 -07:00
Dustin Carlino
194088ac16
The CLI consumes even more. #745
...
Remove the ability for the building procgen tool to generate a map from
OSM. If we still need that, can just do two steps. It complicates the
flags.
2021-09-17 18:29:23 -07:00
Dustin Carlino
7c41134ca8
Folding more tools into the CLI tool. #745
2021-09-17 18:29:23 -07:00
Dustin Carlino
11aeb9e2a4
Start a consolidated CLI tool with a few one of the importer crate's tools. #745
2021-09-17 18:29:23 -07:00
Dustin Carlino
dd49caec4a
When dragging the canvas is interrupted, clean up the state properly, cancelling the drag. #754
2021-09-17 14:05:14 -07:00
Dustin Carlino
6b76c1b195
Bring the controls to avoid hills/stressful roads from the route debugger into the new route tool. It's actually easier to parameter tune here, since drawing and saving routes is polished here. #743
2021-09-17 13:28:32 -07:00
Dustin Carlino
b0fe0f2a65
Fix prev/next route when we're starting on an unsaved route. #743
2021-09-17 12:36:14 -07:00
Dustin Carlino
765335b0da
Show unprotected turns along route. #743
2021-09-17 12:32:17 -07:00
Dustin Carlino
cca701fb3e
Show traffic signals along route. #743
2021-09-17 12:27:00 -07:00
Dustin Carlino
14ce21c80d
Show high-stress roads in route. #743
2021-09-16 13:44:03 -07:00
Dustin Carlino
797bb82c41
Rename routes. #743
2021-09-16 12:46:39 -07:00
Dustin Carlino
a12ceac38b
Cutover from the S3 bucket in one region to the Cloudfront CDN
2021-09-14 10:55:33 -07:00
Dustin Carlino
59bccacdea
Automate the process of importing external scenario JSON files for built-in maps. Right now this is just actdev sites. I've been doing this manually when I remember to.
...
And remove some background scenarios for actdev sites; I don't know how
those crept in.
2021-09-13 14:01:56 -07:00
Dustin Carlino
824e9df5e9
Fix bike quick sketch tool in left-handed maps. #743
2021-09-13 13:14:26 -07:00
Dustin Carlino
efbf6f604d
Regenerate all data from #752
2021-09-13 10:53:35 -07:00
easbar
0a7670d874
Update fast_paths to current master, faster preparation
2021-09-13 10:53:14 -07:00
Dustin Carlino
3125b9fdb2
new release
2021-09-12 16:31:58 -07:00
Dustin Carlino
11bd4ea209
Show elevation on the map directly while hovering. #743 [rebuild]
...
[release]
2021-09-12 10:28:54 -07:00
Dustin Carlino
503a3e8a9e
Slightly reorganize route panel to stop eating all of the screen width.
...
Make the drawn route a bit transparent when zoomed in.
2021-09-12 08:38:49 -07:00
Michael Kirk
83ebc96bb1
drag/drop uses system grabbable/grabbing cursor
2021-09-10 15:17:15 -07:00
Michael Kirk
577192bb89
style row header
2021-09-10 15:17:15 -07:00
Michael Kirk
09fcca8533
left-align vertical drag/drops
2021-09-10 15:17:15 -07:00
Michael Kirk
3b1ed1f82f
fix button v alignment,
...
Also: use standard interaction color when dragging, not the primary
orange color.
2021-09-10 15:17:15 -07:00
Michael Kirk
84b3d87c37
refactor uninted to be builder method, not constructor. it composes better this way
2021-09-10 15:17:15 -07:00
Michael Kirk
a0ea2ba14e
use btn_close instead of "X"s
2021-09-10 15:17:15 -07:00