Dustin Carlino
b835f8a6f7
unused deps
2020-03-06 08:27:00 -08:00
Dustin Carlino
bd2cb6ddd1
first steps towards representing people, not just trips
2020-03-05 17:28:57 -08:00
Dustin Carlino
f97918ff04
fixing the bug with grouping PSRC trips by unique person -- thanks to
...
folks at PSRC for helping track this down
2020-03-05 11:19:32 -08:00
Dustin Carlino
7407e5778f
some investigation into psrc tour segments again
2020-03-02 15:50:32 -08:00
Dustin Carlino
682668d4f6
use named csv fields in psrc parser. group trips by person in popdat layer, discovering that almost no people have multiple trips...
2020-02-05 11:22:56 -08:00
Dustin Carlino
f4c6b4453a
scrape info from PSRC to relate trips to people. not plumbed into
...
scenario layer yet.
2020-02-04 19:54:13 -08:00
Dustin Carlino
07995fb060
starting a tutorial for bus lanes too
2020-01-27 12:38:51 -08:00
Dustin Carlino
95a84fd26a
tweaking rustfmt options; the long literal string vecs in tutorial look awful
2020-01-21 15:20:02 -08:00
Dustin Carlino
ca6b81099c
rename scenarios to be less confusing
2020-01-19 14:39:46 -08:00
Dustin Carlino
dc2cc81249
make Timer methods and ModalMenu take &str or String
2019-12-12 10:25:48 -08:00
Dustin Carlino
89a3d1cf5f
one generic prebake method to rule them all
2019-12-06 13:45:15 -08:00
Dustin Carlino
72c68aa320
remove old census popdat stuff
2019-12-03 11:42:02 -08:00
Dustin Carlino
a043a9ba05
clean up more of abstutil path/filesystem API
2019-12-03 09:59:43 -08:00
Dustin Carlino
720f9b8b30
similar for writing
2019-12-02 20:41:09 -08:00
Dustin Carlino
808c3da141
panic early with a nice error if we cant read a binary or json file
2019-12-02 20:35:20 -08:00
Dustin Carlino
c6bfab7cde
cutover scenrio-layer stuff to use Time
2019-11-27 12:50:52 -08:00
Dustin Carlino
e3ddd5b3db
new release
2019-11-25 15:37:47 -08:00
Max Shenfield
f89bdbab86
Fix cs2cs call when generating popdat.bin ( #5 )
...
* Fix cs2cs call when generating popdat.bin
I got the following error when running `cs2cs`
```
cannot instantiate source coordinate system
program abnormally terminated
```
[The "+init=esri:1234" syntax is deprecated](https://pyproj4.github.io/pyproj/dev/gotchas.html#init-auth-auth-code-should-be-replaced-with-auth-auth-code ). This just uses
the new "esri:1234" syntax, which runs on Mac OSx.
* Also update the corresponding command comment
2019-11-24 08:02:13 -08:00
Dustin Carlino
22397b93a7
NOW ban bikes from motorways. popdat trip filtering needed to handle
...
some impossible-to-fulfill requests involving borders
2019-11-15 10:48:33 -08:00
Dustin Carlino
f73e0c15af
clean up dupe logic in popdat for figuring out path from a trip. instead just repeat the main path used in simulation layer
2019-11-15 10:32:49 -08:00
Dustin Carlino
59913d79e9
also switch some border-related methods to use PathConstraints
2019-11-14 20:37:03 -08:00
Dustin Carlino
4c9975f8b0
be a little more precise with PathRequest
2019-11-14 19:18:22 -08:00
Dustin Carlino
6a5b312a07
same for correct end lanes
2019-11-07 16:32:26 -08:00
Dustin Carlino
8d32671834
dont spawn buses by default in scenarios
2019-11-04 09:59:52 -08:00
Dustin Carlino
1a4cf8c1a0
fix crash in all trip viz. path request might not even be possible
2019-10-26 10:29:44 -07:00
Dustin Carlino
299b5bb77f
remove old functionality for creating only partial PSRC scenarios.
...
rename the main scenario to be much more enticing
2019-10-23 08:04:55 -07:00
Dustin Carlino
d6a9e0e541
just one copy of the code to calculate parked car seeding per bldg, in popdat. remove variant in scenario manager
2019-10-18 11:47:03 -07:00
Dustin Carlino
85ff33e72d
basic, but working, impl of cars lane-changing opportunistically
2019-10-13 14:30:20 -07:00
Dustin Carlino
ad67027250
tweak psrc scenario name, so savestates are easier to use on the CLI
2019-09-28 16:39:44 -07:00
Dustin Carlino
80106eb3d5
script psrc import
2019-09-28 10:44:46 -07:00
Dustin Carlino
fbb7d8ac96
cleaning up CmdArgs usage
2019-09-19 10:42:16 -07:00
Dustin Carlino
62d1777433
getting rid of structopt in more crates
2019-09-18 16:50:32 -07:00
Dustin Carlino
caaf0954ab
rename the main editor crate to game -- map editing is just a tiny piece ;)
2019-09-07 13:09:09 -07:00
Dustin Carlino
cf7d847f32
some of the plumbing to make psrc trips dynamically use a parked car, when possible. very
...
complicated impl. should blow up when one of these trips actually
starts.
2019-09-05 13:01:46 -07:00
Dustin Carlino
048976a256
spawn a specific number of parked cars per bldg for a scenario. dont use
...
them yet.
2019-09-05 09:45:02 -07:00
Dustin Carlino
e35709fc51
calculate number of parked cars needed for PSRC trips in a very
...
primitive way
2019-09-04 13:58:48 -07:00
Dustin Carlino
040c10ed0c
scraping off-street parking info from psrc. it doesn't seem too
...
meaningful anywhere, though...
2019-08-24 14:36:23 -07:00
Dustin Carlino
f8aaf4d7bf
using dyn explicitly, per rust 1.37 deprecation warning
2019-08-22 15:05:17 -07:00
Dustin Carlino
509936cd43
clip_trips breaking on some huge_seattle border intersections; just omit them
2019-08-19 12:29:20 -07:00
Dustin Carlino
4e83f492d8
upgrade rand, get rid of now unneeded serde1 feature, in hopes of fixing feature mismatch between deps
2019-08-15 12:14:35 -07:00
Dustin Carlino
77c01580f1
refactoring path references...
2019-08-04 17:11:33 -07:00
Dustin Carlino
44cedeefab
moving psrc->scenario code to popdat crate
2019-08-04 15:03:50 -07:00
Dustin Carlino
4e2d16af29
consistently using file extensions of .json and .bin, merging duplicate abstutil io functions accordingly
2019-06-11 14:30:11 -07:00
Dustin Carlino
c3a89cd651
read in more metadata about parcels/households from PSRC
2019-06-10 10:37:53 -07:00
Dustin Carlino
0c6a93d38f
introducing a basic slider to adjust speed of all route viz player and
...
sim. code duplication.
2019-06-04 14:22:11 -07:00
Dustin Carlino
70a698236b
more quietly filter out pass-through trips in popdat bin. move trips
...
code in editor into its own module
2019-05-31 14:03:08 -07:00
Dustin Carlino
142f84a232
display passengers on a bus in debug mode. also sort PSRC trips by
...
departure time to make later viz a little easier to follow
2019-05-31 13:52:14 -07:00
Dustin Carlino
a9319dbe6a
capture PSRC trips that start/end out-of-bounds, matching them to a border. slow and buggy start!
2019-05-31 11:37:25 -07:00
Dustin Carlino
35b3e4b7be
round of clippy / unbreaking the build
2019-05-29 13:01:33 -07:00
Dustin Carlino
b9a8ea6c61
interpret PSRC transit trips correctly
2019-05-28 13:28:35 -07:00
Dustin Carlino
ea49fe63ba
match PSRC trips to OSM building IDs up-front, trimming down filesize and speeding up clipping later
2019-05-28 13:04:31 -07:00
Dustin Carlino
01a4abb64a
work around path traces that're breaking PolyLine
2019-05-25 13:33:41 -07:00
Dustin Carlino
8d7ec9d533
start a tool to visualize all trips over time
2019-05-23 17:39:29 -07:00
Dustin Carlino
7b4b0b20b7
use a skip_fail macro in loops
2019-05-23 16:26:22 -07:00
Dustin Carlino
dad1c170ed
squish down the popdat output by using enums for purpose
2019-05-23 16:15:42 -07:00
Dustin Carlino
42c021c8df
glue timers to psrc input stuff
2019-05-23 16:04:46 -07:00
Dustin Carlino
a6ecda2d07
also scrape trip time and distance, for sanity checks
2019-05-23 15:47:45 -07:00
Dustin Carlino
73b751d46c
also scrape trip purpose
2019-05-23 15:29:32 -07:00
Dustin Carlino
f01173ec50
export some trips in PopDat, start reading them in and filtering
2019-05-23 14:34:47 -07:00
Dustin Carlino
a069380439
importing basic info from PSRC trips
2019-05-23 14:20:27 -07:00
Dustin Carlino
0569dd4abd
reading the PSRC parcels file, converting coordinates
2019-05-23 13:58:15 -07:00
Dustin Carlino
28eb670bf9
also display estimated total number of cars in the tract
2019-05-20 15:14:22 -07:00
Dustin Carlino
dd3d670cdd
display table of data for a tract. group all the measurements to bundle
...
error
2019-05-20 10:47:26 -07:00
Dustin Carlino
8d2e3b0623
census tracts are the same between datasets, so group the data better
2019-05-20 09:33:20 -07:00
Dustin Carlino
dfdc6804e5
very barebones mode to explore the popdat
2019-05-20 09:12:57 -07:00
Dustin Carlino
3663c19cdc
starting a new crate to import extra population data
2019-05-20 07:48:30 -07:00