Skip to content

Commit c000f43

Browse files
committed
Add more preset areas
1 parent ea1c69e commit c000f43

File tree

2 files changed

+38
-14
lines changed

2 files changed

+38
-14
lines changed

tests/README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@
22

33
This directory has project files for areas with boundaries that've proven buggy in the past. Eventually, we can also save the neighbourhood GeoJSON dump here too and have automated regression tests. Each file can be loaded from the title screen.
44

5+
There are several stages of "working" for each of these:
6+
7+
1. Can the desired boundary be drawn?
8+
2. Do the interior / perimeter roads get inferred correctly?
9+
3. Do existing filters, shortcuts, cells, everything else all work?
10+
511
- `bristol_west`: used in a previous consultation
6-
- Working fine, using new planarizing snapper!
12+
- At least at stage 2, using new planarizing snapper!
713
- <https://play.abstreet.org/0.3.36/ltn.html?system/gb/bristol/maps/east.bin&--consultation=pt1> is reference for when it was working
814
- `bristol_east`: used in a previous consultation
915
- The southern portion should stretch to the river
@@ -12,7 +18,7 @@ This directory has project files for areas with boundaries that've proven buggy
1218
- option 3: include footpaths in the snapper graph -- but we get lucky here
1319
- <https://play.abstreet.org/0.3.36/ltn.html?system/gb/bristol/maps/east.bin&--consultation=pt2> is reference for when it was working
1420
- `strasbourg`: from <https://github.com/a-b-street/abstreet/issues/1006>
15-
- Working fine!
21+
- At least at stage 2
1622

1723
TODO:
1824
- Lyon

web/src/title/MapLoader.svelte

+30-12
Original file line numberDiff line numberDiff line change
@@ -119,18 +119,36 @@
119119
Load an example:
120120
<select bind:value={$example} on:change={() => loadExample($example)}>
121121
<option value="">Custom file loaded</option>
122-
<option value="akihabara">Akihabara</option>
123-
<option value="hanegi">Hanegi Park</option>
124-
<option value="harujuku">Harujuku</option>
125-
<option value="taipei_main_station">Taipei main station</option>
126-
<option value="ximending">Ximending</option>
127-
<option value="hong_kong">Hong Kong</option>
128-
<option value="kowloon">Kowloon</option>
129-
<option value="bristol">Bristol</option>
130-
<option value="elephant_castle">Elephant & Castle</option>
131-
<option value="westminster">Westminster</option>
132-
<option value="montlake">Montlake</option>
133-
<option value="strasbourg">Strasbourg</option>
122+
<optgroup label="England">
123+
<option value="bristol">Bristol</option>
124+
<option value="elephant_castle">Elephant & Castle</option>
125+
<option value="westminster">Westminster</option>
126+
</optgroup>
127+
<optgroup label="France">
128+
<option value="strasbourg">Strasbourg</option>
129+
<option value="lyon">Lyon</option>
130+
<option value="brest">Brest</option>
131+
</optgroup>
132+
<optgroup label="Scotland">
133+
<option value="edinburgh">Edinburgh</option>
134+
<option value="inverness">Inverness</option>
135+
</optgroup>
136+
<optgroup label="Hong Kong">
137+
<option value="hong_kong">Hong Kong</option>
138+
<option value="kowloon">Kowloon</option>
139+
</optgroup>
140+
<optgroup label="Japan">
141+
<option value="akihabara">Akihabara</option>
142+
<option value="hanegi">Hanegi Park</option>
143+
<option value="harujuku">Harujuku</option>
144+
</optgroup>
145+
<optgroup label="Taiwan">
146+
<option value="taipei_main_station">Taipei main station</option>
147+
<option value="ximending">Ximending</option>
148+
</optgroup>
149+
<optgroup label="USA">
150+
<option value="montlake">Montlake</option>
151+
</optgroup>
134152
</select>
135153
</label>
136154
</div>

0 commit comments

Comments
 (0)