Dustin Carlino
7bb1016905
new release
2022-05-30 17:03:29 +01:00
Dustin Carlino
099e674d76
Slight UI adjustment to LTN undo. [rebuild] [release]
2022-05-30 16:41:57 +01:00
Dustin Carlino
7347e15703
Initial support for creating/editing one-way streets in the LTN tool.
...
Many TODOs:
- nicer UI
- save the changes in the proposal (and undo support)
- make sure pathfinding gets updated
- detect and show error states
2022-05-30 16:06:51 +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
dfa0e83ea4
Bake in an LTN proposal, and make the consultation mode flag load it. #916
...
Don't yet allow listing LTN proposals from the UI or mimicking all the
user-generated/community/remote proposal mechanics.
2022-05-30 12:15:56 +01:00
Dustin Carlino
36e0d4758a
Fix a crash in Bristol (and likely elsewhere) with the new highlighting for boundary roads
2022-05-30 11:35:10 +01:00
Dustin Carlino
d98f18bb18
Create a more careful API for handling one-way roads everywhere, in
...
preparation for modifying them in the LTN tool.
Regenerated everything. This had some effects on overlapping road
shrinking, mostly positive. Screenshot diffs all changed, since I
switched laptops again.
2022-05-27 17:01:36 +01:00
Dustin Carlino
a0ff011aef
In preparation for handling cul-de-sacs and buildings along perimeter
...
roads, just refactor the LTN partitioning internals.
This breaks the LTN serialization, sadly...
2022-05-27 13:39:30 +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
Dustin Carlino
a89834af49
Just writing down a makefile trick where I'm likely to see it
2022-05-26 12:36:17 +01:00
Dustin Carlino
2c7ebbcc13
Prepare for editing one-ways by better hiding the API of editing filters.
2022-05-25 13:10:30 +01:00
Dustin Carlino
df854db143
Make the A/B test mode easier to use, but syncing up the time of the simulation directly when swapping before/after.
2022-05-25 10:05: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
8f49dddaee
Import roads that happen to have trams on them, for Geneva. This was previously breaking in Berlin, but now we can skip over ways with overlapping geometry.
...
First time regenerating everything on another laptop; there may be some
weird changes unrelated to stuff here (like montlake prebaked data?),
but nothing that seems problematic
2022-05-23 15:42:55 +01:00
Dustin Carlino
0c27be5491
Draw the boundary roads in the highlighted area with this one weird trick geometers don't want you to know
2022-05-23 14:24:52 +01:00
Dustin Carlino
b236c23112
Update to Rust 1.61
2022-05-21 17:17:02 +01:00
Dustin Carlino
a5a9415de0
Avoid crashing with the previous commit; we still need to remove dangling nodes no matter what
2022-05-21 16:54:42 +01:00
Dustin Carlino
8b71885b04
Optionally skip removing disconnected streets from the graph. For osm2streets tests, often our small clipped area looks very disconnected. https://github.com/a-b-street/osm2streets/issues/8
2022-05-21 13:20:57 +01:00
Dustin Carlino
150ec77f85
Remove the osm2polygons tests from #886 . Instead, we now have goldenfile
...
tests across larger chunks of OSM in
https://github.com/a-b-street/osm2streets/pull/15 .
2022-05-21 12:47:47 +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
2e590c553a
Dump RawMaps to GeoJSON, for https://github.com/a-b-street/osm2streets/issues/8
2022-05-21 12:24:03 +01:00
Dustin Carlino
048ae1850c
Don't allow filtering one-way roads with the freehand tool either
2022-05-20 14:21:55 +01:00
Dustin Carlino
59a540e907
Fix undo and the freehand filter tool. When intersections were involved, the single edit got split into pieces sometimes.
2022-05-19 14:27:47 +01:00
Dustin Carlino
7bb426f804
Create a new widgetry transition to simplify state preservation in the LTN tool. It's maybe a bit specialized, but hopefully this kind of pattern could come in handy elsewhere, or a slightly more general pattern could emerge.
2022-05-19 14:21:44 +01:00
Dustin Carlino
36d3d85584
Be more precise with mimetypes when making a browser save a file
2022-05-19 10:11:50 +01:00
Dustin Carlino
b416985ed5
Stop hardcoding the Bristol neighborhood ID for consultation
2022-05-19 10:06:03 +01:00
Dustin Carlino
8a4cc87d48
I forgot to upload Bristol data for 5e11e6254b
. Since I just cut a release, I'm cheating and just replacing the 0.3.22 S3 data for Bristol. The only people who would notice would use the 0.3.22 build and manually run the updater, which is quite unlikely.
2022-05-18 17:36:21 +01:00
Dustin Carlino
65af2b32d7
new release
2022-05-18 17:22:48 +01:00
Dustin Carlino
92f89c74c8
Export raw problem list to CSV. [rebuild] [release]
2022-05-18 15:15:09 +01:00
Dustin Carlino
ffef0279bf
Refactor the support for making browsers download files, and use more widely
2022-05-18 14:43:16 +01:00
Dustin Carlino
5e11e6254b
Force Bristol study area to match an LTN project. #916
2022-05-18 12:13:56 +01:00
Dustin Carlino
5c65ee174a
Simplify flag plumbing for left/right handed driving. I thought the bug
...
fixed in the previous commit might've been an issue here. All the flag
handling was correct, but this way is more maintainable.
2022-05-18 12:02:58 +01:00
Dustin Carlino
378ba9b6e6
Fix bug that was causing all maps to be right-handed.
...
This was broken somewhere around 6974d26cac
, but isn't affecting the current data. I must have regenerated everything before the change or something like that.
2022-05-18 11:59:27 +01:00
Dustin Carlino
c84daeb239
Don't let people filter one-way roads!
2022-05-17 16:15:34 +01:00
Dustin Carlino
078265718a
Start a simplified consultation mode for the LTN tool
...
- starts in a fixed neighborhood
- hides many controls
- lets users jump to route planning from the per-neighborhood screens
2022-05-17 16:14:14 +01:00
Dustin Carlino
0f62e650ea
Organize some of the LTN UI code before attempting some more panel
...
complexity.
2022-05-17 15:22:58 +01:00
Dustin Carlino
a56f47bfaf
Change how non-driveable roads (cycleways) work in the LTN tool and
...
blockfinding. Stop using them as parts of block boundaries, and stop
drawing special "car-free" cells around them.
Motivation in the PR description.
2022-05-17 10:57:27 +01:00
Dustin Carlino
a60104762e
Bugfix: saving LTN proposals natively failed without the directory missing, probably breaking it for most people
2022-05-16 13:43:01 +01:00
Dustin Carlino
4a3462996b
A number of small UX changes to the LTN tool
2022-05-16 13:39:12 +01:00
Dustin Carlino
7999c1a49d
Make the freehand filter tool work in both the connectivity and shortcut view, in preparation for adding even more editing controls
2022-05-16 11:10:56 +01:00
Dustin Carlino
eae2abcce0
Show one-way entrances/exits to LTNs more clearly with directional arrows
2022-05-16 10:36:11 +01:00
Dustin Carlino
d371ba2765
Adjusting relative problems layer
...
- preserve selected types a little better
- show ratio
2022-05-15 10:44:29 +01:00
Dustin Carlino
867be8fa07
Reimport SMP, with fixed sidewalk data for one-ways in OSM.
...
There were 3 manual steps here:
1) Tag sidewalk=left,right,both along many one-way streets in OSM where
the inferred value was very wrong, and causing a large difference
from smp_sidewalk_widening
2) Clear out smp_sidewalk_basemap, broken by OSM ID changes. This has
never actually (and still does not) contain real baseline sidewalk
widths, but still might eventually.
3) Manually update smp_sidewalk_widening, broken by OSM ID changes.
The simulation results with the proposed edits now don't cause as many
spurious route changes.
2022-05-15 10:03:23 +01:00
Dustin Carlino
7e54241b4d
To preserve edits in SMP, add a temporary way to ignore the old lanes in edits and use OSM.
...
Also stop trying to convert system proposals for different cities
entirely; it makes the logs very messy.
2022-05-14 09:59:58 +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
4ca0c24a60
Add tooltips to the pedestrian crowding layer
2022-05-12 14:10:49 +01:00
Dustin Carlino
a229bf9385
Add a layer showing pedestrian density.
2022-05-12 13:33:33 +01:00
Dustin Carlino
16e539a77c
Fix the map editor when editing lanes along one road.
2022-05-12 09:05:12 +01:00