Commit Graph

580 Commits

Author SHA1 Message Date
Dustin Carlino
7bb1016905 new release 2022-05-30 17:03:29 +01:00
Dustin Carlino
a430f644ee Refactor the polygon editor tool, and use it in the LTN tool too.
Override that Bristol boundary. #916

And this is another breaking LTN proposal schema change.
2022-05-30 13:10:57 +01:00
Dustin Carlino
cf2fb316f4 Stop drawing yellow center lines in GB 2022-05-26 14:58:30 +01:00
Dustin Carlino
5fb52fce8b
Use a traffic signal icon in the LTN tool (#927) 2022-05-26 14:41:56 +01:00
Dustin Carlino
988a602342 Hide some details from the zoomed view in the LTN tool: driveways, crossings, stop signs. Most are flat-out incorrect, especially in the UK. 2022-05-26 13:01:21 +01:00
James Nebeker
ee7f843ff6
Fixes issue #173 Part B (#917)
* Fixes issue #173 Part B

This commit changes the color of road labels to white, and adds a black
stroke. It also removes center line dashes from the beginning of the
road label to the end.

* cargo fmt and fix syntax warnings

* Adds changes from PR #917 Review

This commit adds the changes requested in PR #917.

* Rebase and cargo fmt

* A few cleanups:

- make render_center_line private
- make usage of the 0.1 factor more clear
- work in Distance::meters

* Disable the curvey label experiment before merging, but now we don't
need to draw the background for non-curvey labels either!

* Draw the full center-line when appropriate

* Screenshot diff

Co-authored-by: Dustin Carlino <dabreegster@gmail.com>
2022-05-24 14:55:23 +01:00
Dustin Carlino
2c6bfbac8c Be more precise about lyon_geom dependency; 0.17 has a breaking API change that isn't handled in this codebase yet, so another Cargo.lock file in another repo depending on map_model is breaking 2022-05-21 12:31:19 +01:00
Dustin Carlino
65af2b32d7 new release 2022-05-18 17:22:48 +01:00
Dustin Carlino
213df7fa82 Some slight widgetry API changes in support of another project, which is -- I am only mildly ashamed to say -- is depending on it 2022-05-13 16:47:58 +01:00
Dustin Carlino
a229bf9385 Add a layer showing pedestrian density. 2022-05-12 13:33:33 +01:00
Dustin Carlino
40e60be386 new release 2022-05-08 13:39:37 +01:00
Chris Petkau
5eadce28f2 Format with rustfmt 1.4.38-stable.
Rename 'pair1' to 'pair'.
2022-05-07 22:06:11 +01:00
Chris Petkau
a319c77db1 Opinionated refactoring of intersection.rs.
- Favour iterator-based transformations over for-loops.
- Limit scope of mutable variables via extract-method.
- Body of if-let should generally invoke a function, to reduce indentation.
- With the appropriate granularity of functions, the if-return guard pattern can be utilized.
2022-05-07 22:06:11 +01:00
Dustin Carlino
53d8f5e699 new release 2022-05-02 22:31:47 +01:00
Dustin Carlino
aff8d8ceef Automatically change metric/imperial based on the map loaded. 2022-04-30 15:24:18 +01:00
Dustin Carlino
dff4e17b28 Let the user make edits to switch between marked/unmarked crosswalks! 2022-04-26 16:42:37 +01:00
Dustin Carlino
96d7010582 new release 2022-04-24 22:09:42 +01:00
Dustin Carlino
5890e600d3 Refactor pedestrian radius 2022-04-24 09:38:19 +01:00
Dustin Carlino
6aa71539a5 Start mocking out a UI to sketch bus routes, showing people and places
nearby. Shove it in the 15m tool momentarily.

Also make the thresholds/colors for isochrones more configurable.
2022-03-30 15:56:37 +01:00
Dustin Carlino
f00d9ff24c new release 2022-03-28 14:47:59 +01:00
Dustin Carlino
d6dc4332b0 Make the LTN impact UI easier to see. Draw less stuff, only focus on roads with changes [rebuild] [release] 2022-03-28 11:13:17 +01:00
Dustin Carlino
2e4e11f6b0 Flesh out the UI for showing specific changed paths 2022-03-25 16:20:40 +00:00
James Nebeker
891ea04e90
Issue 173 (#885)
* implemented logic to invert a polyline based on the quadrant of the polyline's angle

* Fixes for PR #885 on Issue #173.

* Reverted changes to render_curvey

Because of borrow checker limitations, I reverted the changes to the way
we call render_curvey. It is now called twice, depending on whether the
road is curved or straight. I also enclosed the implementation in an
ALWAYS-FALSE if else statement in order to deactivate it until some
remaining issues with text label rendering are resolved.

* Fix formatting

Co-authored-by: jamesneb <jnebeker@truckitapp.com>
Co-authored-by: Dustin Carlino <dabreegster@gmail.com>
2022-03-25 06:23:06 -07:00
Dustin Carlino
1126972fdd For roads we predict to get more/less traffic from LTN interventions,
click them and explore specific routes.

UI needs plenty of work.

And the results show plenty of spurious changes not explained by new
filters.
2022-03-25 12:07:23 +00:00
Dustin Carlino
eff3d83231 new release 2022-03-23 13:39:54 +00:00
Dustin Carlino
696f010301 Restrict the LTN route planner to 2 waypoints. Too easy to accidentally click and add a third, and the route overlapping itself is a total mess. 2022-03-23 09:49:08 +00:00
Dustin Carlino
6139314584 Import Glenrothes (lumped into GB for now; using the longer ISO country codes would break stuff) 2022-03-22 18:07:49 +00:00
Dustin Carlino
f3381d3807 Import Oxford and Keelung. The former has LTN blockfinding issues, and
the latter doesn't detect the ocean -- will iterate on both issues
later.
2022-03-22 14:30:18 +00:00
Dustin Carlino
36fb1038de new release 2022-03-20 17:38:58 +00:00
Dustin Carlino
c20f51ea34 De-emphasize buildings in LTN mode 2022-03-18 16:13:05 +00:00
Dustin Carlino
f7601287a4 Add the window icon to other apps 2022-03-13 16:13:36 +00:00
Dustin Carlino
db5b4e69c2 new release 2022-03-13 15:41:58 +00:00
Dustin Carlino
a266d91632 Import a large slice of central London, minus buildings, for an LTN demo. 2022-03-12 22:21:48 +00:00
Dustin Carlino
5ca239c861 Quickly reimport the current map. #877 2022-03-11 16:59:35 +00:00
Dustin Carlino
606a59cec5 Import Pune 2022-03-10 08:29:40 +00:00
Dustin Carlino
5b2d5c82ff Line up the LTN left and top panels exactly, and make the background
solid
2022-03-08 09:33:49 +00:00
Dustin Carlino
477783e430 Simplify the combinatorial explosion of Panel sizing APIs 2022-03-08 09:33:49 +00:00
Dustin Carlino
14a462c9ca new release 2022-03-06 18:56:50 +00:00
Dustin Carlino
9c9e10cc0f Support the scale-factor override flag in more apps.
All the start up config is confusing and different per app...
2022-03-05 19:26:08 +00:00
Dustin Carlino
8880f41692 Center the camera in the LTN tool and others. And simplify the logic for
the game; it was based on the old bouncey splash screen concept.
2022-03-05 19:01:05 +00:00
Dustin Carlino
d16d1fdedb Draw most road labels in the LTN tool with inverted colors. Still hard to read, but less hard? 2022-03-05 18:26:02 +00:00
Dustin Carlino
4ea201575d Import Nottingham 2022-03-05 17:33:58 +00:00
Dustin Carlino
2db8818a08 Start a variation of the current color scheme specialized for the LTN tool. Stop drawing access-restricted roads in a special way; it's a distraction in this app. 2022-03-04 19:23:41 +00:00
Dustin Carlino
7e403ca65c new release 2022-02-27 10:19:18 +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
7bb6132726 Open OSM from map_editor
(Move open_browser to widgetry)
2022-02-23 14:43:58 +00:00
Dustin Carlino
1ebc178225 Upgrade rfd 2022-02-22 17:35:58 +00:00
Dustin Carlino
d141a2a810 Upgrade all geo dependencies! No behavioral difference 2022-02-22 16:45:49 +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
bfe2709243 new release 2022-02-20 18:55:28 +00:00