Dustin Carlino
bf8c35788b
moving popdat+precompute into the new unified importer
2020-03-26 10:26:01 -07:00
Dustin Carlino
41ce8fe8f3
force trips per person to be time ordered
2020-03-18 14:01:03 -07:00
Dustin Carlino
0bcbac1fee
upgrade a few misc packages
2020-03-17 10:35:37 -07:00
Dustin Carlino
fa013f70d4
woops, have to skip the gdal dependency in wasm
2020-03-15 14:20:05 -07:00
Dustin Carlino
41f37f666c
switch popdat from cs2cs binary to gdal bindings. cleaner and will likely need gdal for elevation data anyway. also fix synthetic maps, which i accidentally broke few days ago with elevation
2020-03-15 12:34:23 -07:00
Dustin Carlino
87e9431f91
rearrange people/trips in the Scenario layer
2020-03-12 15:38:58 -07:00
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