mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-24 09:24:26 +03:00
Fix some broken mdbook links
This commit is contained in:
parent
d7e0225097
commit
86d47016be
@ -92,7 +92,8 @@ You can rerun specific stages of the importer:
|
||||
`convert_osm`, you need `./import.sh --raw --map`.
|
||||
- If you're modifying `map_model` but not the OSM -> RawMap conversion, then you
|
||||
just need `./import.sh --map`.
|
||||
- If you're modifying the demand model for Seattle, you can add `--scenario` to regenerate.
|
||||
- If you're modifying the demand model for Seattle, you can add `--scenario` to
|
||||
regenerate.
|
||||
- By default, all maps are regenerated. You can also specify a single map:
|
||||
`./import.sh --map downtown`.
|
||||
- By default, Seattle is assumed as the city. You have to specify otherwise:
|
||||
@ -155,8 +156,4 @@ problems is useful. It's also fine to crash when initially constructing all of
|
||||
the renderable map objects, because this crash will consistently happen at
|
||||
startup-time and be noticed by somebody developing before a player gets to it.
|
||||
|
||||
Regarding Testing: You'll surely note the lack of unit tests. If it bothers you,
|
||||
let's talk about what tests should exist. In the meantime, note lots of
|
||||
validation does happen via importing maps, running the prebaked scenarios, and
|
||||
screenshot diffing. Please read more in depth in the
|
||||
[testing strategy](https://dabreegster.github.io/abstreet/dev/testing.html) doc.
|
||||
See the [testing strategy](testing.md) page.
|
||||
|
@ -78,8 +78,7 @@ cargo run --bin dump_map data/system/maps/montlake.bin > montlake.json
|
||||
|
||||
The format of the map isn't well-documented yet. See the
|
||||
[generated API docs](https://dabreegster.github.io/abstreet/rustdoc/map_model/index.html)
|
||||
and [the map model docs](https://dabreegster.github.io/abstreet/map/index.html)
|
||||
in the meantime.
|
||||
and [the map model docs](../map/index.md) in the meantime.
|
||||
|
||||
## Working with individual trips
|
||||
|
||||
@ -89,11 +88,11 @@ needed. If possible, it's simpler to create a Scenario as input.
|
||||
## Working with Scenarios
|
||||
|
||||
You can
|
||||
[import trips from your own data](https://dabreegster.github.io/abstreet/trafficsim/travel_demand.html#custom-import).
|
||||
[import trips from your own data](../trafficsim/travel_demand.md#custom-import).
|
||||
|
||||
You can also generate different variations of one of the
|
||||
[demand models](https://dabreegster.github.io/abstreet/trafficsim/travel_demand.html#proletariat-robot)
|
||||
by specifying an RNG seed:
|
||||
[demand models](../trafficsim/travel_demand.md#proletariat-robot) by specifying
|
||||
an RNG seed:
|
||||
|
||||
```
|
||||
cargo run --bin random_scenario -- --rng=123 --map=data/system/maps/montlake.bin > data/system/scenarios/montlake/home_to_work.json
|
||||
|
@ -45,8 +45,7 @@ add pictures to explain better when I get time.
|
||||
- Types
|
||||
- On-street: parallel parking lanes from
|
||||
[GeoData blockface dataset](http://data-seattlecitygis.opendata.arcgis.com/datasets/blockface)
|
||||
and
|
||||
[manually mapped](https://dabreegster.github.io/abstreet/map_parking.html)
|
||||
and [manually mapped](howto/map_parking.md)
|
||||
- Off-street: most buildings have at least a few parking spots in a driveway
|
||||
or carport
|
||||
- Currently experimenting in the downtown map: set the number of available
|
||||
|
@ -26,10 +26,10 @@ use
|
||||
|
||||
I'm trying to build a realistic traffic simulation of Seattle using OSM data,
|
||||
then use it to strengthen proposals for
|
||||
[pedestrianized streets](https://dabreegster.github.io/abstreet/lake_wash/proposal.html),
|
||||
[pedestrianized streets](../case_studies/lake_wash.md),
|
||||
[improving the bike network](https://www.glwstreets.org/45th-st-bridge-overview),
|
||||
and
|
||||
[mitigating the West Seattle bridge closure](https://dabreegster.github.io/abstreet/west_seattle/proposal.html).
|
||||
[mitigating the West Seattle bridge closure](../case_studies/west_seattle.md).
|
||||
A/B Street is only as good as its data, and parking is one of the biggest gaps.
|
||||
Missing data means unrealistic traffic as vehicles contend for few parking
|
||||
spots, and roads that look much wider than they are in reality.
|
||||
|
@ -92,4 +92,4 @@ resources for fixing OSM:
|
||||
|
||||
- <https://learnosm.org>
|
||||
- <https://wiki.openstreetmap.org/wiki/StreetComplete>
|
||||
- <https://dabreegster.github.io/abstreet/map_parking.html>
|
||||
- [Mapping parking](map_parking.md)
|
||||
|
@ -17,8 +17,7 @@ downtown congestion charging zone for Seattle.
|
||||
Active as of Sept 2020
|
||||
|
||||
A group (with their own demand data!) is studying traffic signal optimization in
|
||||
Xi'an. They're using the
|
||||
[API](https://dabreegster.github.io/abstreet/dev/api.html).
|
||||
Xi'an. They're using the [API](../dev/api.md).
|
||||
|
||||
## Forecasting group
|
||||
|
||||
|
@ -95,7 +95,7 @@ There's plenty to do besides programming!
|
||||
|
||||
- Mapping, most of which directly contributes to OpenStreetMap:
|
||||
- sidewalks and crosswalks
|
||||
- [on-street parking](https://dabreegster.github.io/abstreet/map_parking.html)
|
||||
- [on-street parking](../howto/map_parking.md)
|
||||
- [traffic signal timing](https://docs.google.com/document/d/1Od_7WvBVYsvpY4etRI0sKmYmZnwXMAXcJxVmm8Iwdcg/edit?usp=sharing)
|
||||
- Playtesting by attempting to implement real proposals would also be helpful,
|
||||
to expose where it's awkward for A/B Street to edit the map and to write up
|
||||
|
@ -1,8 +1,7 @@
|
||||
# Live edits
|
||||
|
||||
When the player edits the map, there's an
|
||||
[efficient process](https://dabreegster.github.io/abstreet/map/edits.html) for
|
||||
applying the edits at the map model and rendering layer. In the middle of a
|
||||
When the player edits the map, there's an [efficient process](../map/edits.md)
|
||||
for applying the edits at the map model and rendering layer. In the middle of a
|
||||
simulation, it's less obvious how to apply all edits. Most of the time
|
||||
currently, edits cause the simulation to reset to midnight. Applying edits to
|
||||
the sim without reset is important for running machine learning experiments and
|
||||
|
Loading…
Reference in New Issue
Block a user