Dustin Carlino
5722c67011
Add methods to get geojson from a point
2022-08-01 14:43:20 +01:00
Dustin Carlino
c2e243e4ce
Stop running the visual screenshot diff test.
...
It's too flaky. For reasons I can't explain, there's often a slight diff
on every single screenshot, making it useless.
Even when it works, the workflow is painful. I end up using
data/diff_changed_map.sh and the full power of the UI to flip back and
forth between a before/after. My new workflow will just see when a file
changes, then use this script.
2022-07-31 21:00:50 +01:00
Dustin Carlino
76af7e9fa9
Regenerate all data with osm2streets sausage link fix.
2022-07-31 20:51:32 +01:00
Dustin Carlino
c5cba7abcd
Update to new osm2streets transformation API, and stop re-exporting
...
stuff from map_model / raw_map.
2022-07-31 16:14:06 +01:00
Dustin Carlino
328d04337d
Upgrade thread_local to fix security vulnerability. [rebuild]
2022-07-29 17:31:57 +01:00
Dustin Carlino
cba2f354be
Upgrade to lyon 1.0. #954
2022-07-29 17:28:45 +01:00
Dustin Carlino
a5ff802957
Upgrade to winit 0.27!
...
No visible behavioral changes on Linux native (xorg) or web. See the
(massive) changelog at
https://github.com/rust-windowing/winit/blob/master/CHANGELOG.md .
I suspect horizontal scrolling may flop with this change. I will
separately test on different platforms and probably incorporate the
fixes from #831 .
2022-07-29 17:14:28 +01:00
Dustin Carlino
79ef9f85da
Improve TextBox widget. Visually show focus, and just require mouse hover (not a click) for focus
2022-07-29 12:12:59 +01:00
Dustin Carlino
806b2908b1
new release
2022-07-28 17:02:30 +01:00
Dustin Carlino
2f58806afe
Import Brighton (minus the ocean...). [rebuild] [release]
2022-07-28 16:27:33 +01:00
Dustin Carlino
fb39e71688
Add a method to GPSBounds for osm2streets
2022-07-27 18:08:57 +01:00
Dustin Carlino
0586beb2cf
Upgrade osm2streets, which no longer does file IO for reading the osm.xml files itself
2022-07-26 10:11:22 +01:00
Dustin Carlino
65a55895f6
Lift color scale utilities into widgetry for bus_spotting
2022-07-25 12:39:18 +01:00
Dustin Carlino
c3074f892b
Add a method to Counter for bus_spotting
2022-07-25 11:58:07 +01:00
Dustin Carlino
03066bb0bb
Reset shortcut state when swapping proposals, as a stop-gap with the new
...
changes
2022-07-20 15:12:11 +02:00
Dustin Carlino
f3f56cb993
Simplify the shortcuts browsing UI. Stop attempting the subsetted
...
heatmap; it's expensive to calculate and very jumpy / confusing while
hovering.
2022-07-20 15:12:11 +02:00
Dustin Carlino
af8049909b
Always show the traffic cell drawing toggle, as a compromise. Both styles have their use; let users experiment with both.
2022-07-20 15:12:11 +02:00
Dustin Carlino
6cc90ff7d2
Add icons to the edit toolbar
2022-07-20 15:12:11 +02:00
Dustin Carlino
8580485a36
Lift the freehand filter tool as a main edit mode.
...
We need a way to reset EditMode when we leave the state, no matter how
it happens. There are some bugs now with fiddling with proposals in the
middle of drawing!
2022-07-20 15:12:11 +02:00
Dustin Carlino
ad5ce6c088
Improve the style of the main edit panel:
...
- underline the current tab
- lift the undo button out of this
2022-07-20 15:12:11 +02:00
Dustin Carlino
8bc25fc136
Clear shortcut state when swapping neighbourhoods
2022-07-20 15:12:11 +02:00
Dustin Carlino
83600f0e26
Fix a bug incorrectly abbreviating road names, found in Bristol
2022-07-20 15:12:11 +02:00
Dustin Carlino
aed6795234
Fallback to old path tracing for shortcuts
2022-07-20 15:12:11 +02:00
Dustin Carlino
306b8c2dd8
When hovering on a road, show a heatmap of shortcuts through it
2022-07-20 15:12:11 +02:00
Dustin Carlino
8fbb3d36db
Before melting occurs, more shortcut UI:
...
- handle roads with no shortcuts
- fill the road thickness exactly with the path shown
2022-07-20 15:12:11 +02:00
Dustin Carlino
aa060ac41c
Iterate on the new shortcut UI.
...
- hotkeys
- preview an example while hovering
- avoid recalculating the neighbourhood all the time
2022-07-20 15:12:11 +02:00
Dustin Carlino
0809c6b925
Now remove the old shortcut viewer mode, and simplify the code / UI substantially!
2022-07-20 15:12:11 +02:00
Dustin Carlino
8e94eeeb17
Now make the browse shortcut controls appear.
...
It works, mvp. Lots of code cleanup / performance / edge cases needing
cleanup though.
2022-07-20 15:12:11 +02:00
Dustin Carlino
dd99afddc6
Always store shortcuts with a neighbourhood. This should simplify the next UI changes, and once some more issues are fixed, speed up performance of switching between UIs.
...
Some lesser-used features will get a bit slower, though.
2022-07-20 15:12:11 +02:00
Dustin Carlino
b4ba9f5394
Start a new control for viewing shortcuts related to a road.
...
Incomplete! Turns out this requires rearranging how layers of stuff are
drawn first.
2022-07-20 15:12:11 +02:00
Dustin Carlino
4f368ffe01
Reduce the scroll speed on web
2022-07-20 13:52:25 +02:00
Dustin Carlino
58068b0da0
Fix bug in previous label perf commit
2022-07-16 17:04:52 +01:00
Dustin Carlino
fc072fb277
Improve the performance of rendering road labels for a zoom level by
...
modifying polygons in-place and batching the transformations.
2022-07-16 16:21:43 +01:00
luz paz
7b63227407
Fix typos
...
Found via `codespell -q 3 -L crate,flor,nd,noice`
2022-07-16 08:55:39 +01:00
Dustin Carlino
82224870eb
new release
2022-07-15 21:39:18 +01:00
Dustin Carlino
41fbeae7c1
Re-enable mac codesigning after fixing error in Apple dev account. #66 [rebuild] [release]
2022-07-15 20:42:34 +01:00
Dustin Carlino
7e2667bf37
Refactor places writing GeoJSON (working around https://github.com/georust/geojson/issues/170 )
2022-07-15 09:37:07 +01:00
Dustin Carlino
1b216ccfac
Style the LTN basemap further:
...
- dashed outlines for cyclepaths
- outlines with no fill for light rail (the width makes it clear enough)
... brought to you by the utter treasure that is the Vauxhall Tea House
Theatre.
2022-07-14 12:26:16 +01:00
Dustin Carlino
40e36023c5
Continue simplifying the LTN basemap:
...
- map border intersections
- parking lots
- traffic signals
2022-07-14 12:26:16 +01:00
Dustin Carlino
89184a3306
Split and rename the ColorScheme experiment flag, to be more clear with ongoing new experiments
2022-07-14 12:26:16 +01:00
Dustin Carlino
46df90a238
Fix a rare crash in the new LTN cell drawing
2022-07-14 12:26:16 +01:00
Dustin Carlino
cc9687b7d6
Remove the arbitrary colors from the browse neighbourhood screen. This also simplifies the underlying code a fair bit.
2022-07-14 12:26:16 +01:00
Dustin Carlino
9645e43133
Gently highlight the cell area and its borders when hovering on it. This
...
complements the previous change.
2022-07-14 12:26:16 +01:00
Dustin Carlino
624a7b0d58
Begin a radical simplification of the LTN tool's color scheme, based on
...
generous advice from Duncan Geere. #911
- Remove most color from the basemap, mimicking Mapbox light
- Stop drawing cells as colored areas. Just draw the thick boundary
between adjacent cells, showing that they're separated.
The previous behavior with colored cell areas is still available as an
advanced option, but disabled by default.
2022-07-14 12:26:16 +01:00
Dustin Carlino
602653d934
Shrink the boundary for Pune
2022-07-12 14:28:06 +01:00
Dustin Carlino
1a9b0715ac
Expose ButtonBuilder label for a bus_spotting experiment.
2022-07-12 11:01:44 +01:00
Dustin Carlino
18b03139ac
Remove the street_network and import_streets crates from this repo. They now live in the osm2streets repo! https://github.com/a-b-street/osm2streets/issues/41
...
Mostly straightforward, except for a slightly funny Cargo patch
2022-07-08 21:49:23 +01:00
Dustin Carlino
890198d78a
Regenerate all data. Pretty much no behavioral change anywhere.
2022-07-08 21:26:46 +01:00
Dustin Carlino
ea71eb5f9a
Write the end-to-end import that osm2streets will use. Don't refactor
...
too much yet
2022-07-08 21:26:46 +01:00
Dustin Carlino
d24ac90f4e
Extract import_streets as a separate crate, in preparation for moving it to the osm2streets repo
2022-07-08 21:26:46 +01:00