Commit Graph

7548 Commits

Author SHA1 Message Date
Dustin Carlino
1e07a148fa Show walking directions in the LTN tool as well. Start to tune all the route colors on the map 2022-03-23 09:58:10 +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
e5ea25ec58 Show biking directions in the LTN tool too
(Many UI problems)
2022-03-22 22:25:42 +00:00
Dustin Carlino
df82f54879 Cache custom pathfinders directly for the LTN route planning tool. #852 2022-03-22 22:25:42 +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
3b664ea54e Give callers a way to create and use a Pathfinder directly, not storing
it as part of the Map. #852

This has an immediate use in the LTN rat run calculation -- share the
pathfinder across threads, avoid massive logspam.

There's a much larger refactor in another branch, but just starting with
this.
2022-03-21 12:58:20 +00:00
Dustin Carlino
1661957511 Just change the error message in the select boundary tool to emphasize it's probably not the user's fault 2022-03-21 12:28:37 +00:00
Dustin Carlino
d1f6350b89 Calculate neighborhood area. I can't recall where, but I think I've
heard there's an ideal size of about 1 km^2 for an LTN
2022-03-21 12:25:55 +00:00
Dustin Carlino
a45eeb3ede Add an about button to LTN 2022-03-21 12:09:52 +00:00
Dustin Carlino
b22e560abd Add a contextual help button to LTN 2022-03-21 12:00:10 +00:00
Dustin Carlino
36fb1038de new release 2022-03-20 17:38:58 +00:00
Dustin Carlino
4e626b72a9 Just delete unused magnifying glass code from Ungap [rebuild] [release] 2022-03-20 16:53:51 +00:00
Dustin Carlino
9fda4b931d Change the default heuristic and improve descriptions 2022-03-19 15:40:26 +00:00
Dustin Carlino
c434bfcb85 Popup a message when the auto-filter has no effect 2022-03-19 15:33:12 +00:00
Dustin Carlino
b87995840d Add an expert mode to the LTN tool, hiding all the sketchy stuff by default 2022-03-18 16:57:14 +00:00
Dustin Carlino
c20f51ea34 De-emphasize buildings in LTN mode 2022-03-18 16:13:05 +00:00
Dustin Carlino
d09bfb7a70 Add a timer around the slow auto-filter-everything tool, and actually
use the heuristic dropdown on the browse screen
2022-03-17 15:55:03 +00:00
Dustin Carlino
e7bcb12b84 Filter intersections when freehand draw crosses them. Closes #875 2022-03-17 13:55:12 +00:00
Dustin Carlino
25ebb627be Clean up some LTN code from when the concept of 3 per-neighborhood tabs was stronger. [rebuild] 2022-03-16 12:53:20 +00:00
Dustin Carlino
36ef6d6b34 When merging blocks, try reversing the order of one. Otherwise, the
current mix of clockwise and counter-clockwise blocks don't combine.
2022-03-16 12:47:08 +00:00
Dustin Carlino
c81ea0478a Try a min-cut inspired heuristic for filter placement. The results are
surprising (I didn't spot the bottleneck), but quite good!
2022-03-16 11:53:24 +00:00
Dustin Carlino
afe04c527b When swapping proposals, try to keep showing the same rat-run 2022-03-16 11:41:19 +00:00
Dustin Carlino
c9de8c691c Organize all the LTN colors. No behavioral change, except fixing alpha
for car-free or disconnected cells
2022-03-14 09:38:12 +00:00
Dustin Carlino
34345ce341 Just put the road name in the tooltip! 2022-03-13 18:38:45 +00:00
Dustin Carlino
159ae93f62 Show the rat-run heatmap on the connectivity tab. 2022-03-13 17:35:07 +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
0e04a29400 Remove rounding from new LTN panels. [rebuild] [release] 2022-03-13 11:02: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
fca2e1bc87 Workaround GTFS snapping problems in Geneva by forcing sidewalks on both sides of oneway roads 2022-03-11 14:35:36 +00:00
Dustin Carlino
606a59cec5 Import Pune 2022-03-10 08:29:40 +00:00
Dustin Carlino
a99aec2dc4 Unbrick the UK scenario import 2022-03-08 17:11:34 +00:00
Dustin Carlino
53eab1b156 Tweak different left panels to generally keep width low 2022-03-08 09:33:49 +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
04f00b4c8a Move the LTN app header to a separate top panel. 2022-03-08 09:33:49 +00:00
Dustin Carlino
353a05625c Add zenodo badge 2022-03-06 20:39:07 +00:00
Dustin Carlino
14a462c9ca new release 2022-03-06 18:56:50 +00:00
Dustin Carlino
d6d1bb581f Rename some code, to trigger a [rebuild] [release] 2022-03-06 17:41:09 +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
99747ff34e Make the LTN tool more robust to broken blockfinding. #841
Try the cheap validation first. If it breaks, fall back to the expensive
version.
2022-03-05 17:21:54 +00:00
Dustin Carlino
a4153891e2 Rearrange some LTN panels, try to make consistent and emphasize important stuff 2022-03-05 16:42:49 +00:00
Dustin Carlino
08395624d8 Support swapping proposals in the pathfinding mode 2022-03-05 16:42:49 +00:00
Dustin Carlino
b83b268e22 Make the LTN pathfinding tool be map-wide, not per neighborhood 2022-03-05 16:42:49 +00:00
Dustin Carlino
1ac25cc39a Find thick dual carriageway roads that overlap, and cut their width in
half.
2022-03-05 11:03:23 +00:00