Dustin Carlino
a596cb8d04
Fix flatgeobuf dependency, which was bringing in native SSL bindings. Closes #519
2021-02-18 10:28:11 -08:00
Dustin Carlino
783ce53a4e
Fix geozero patch from previous commit
2021-02-08 16:40:25 -08:00
Michael Kirk
4b665c871d
update geo related deps. ( #508 )
...
geo-types to 0.7
geo to 0.17 which removes redundant old geo used by polylabel
geojson to 0.22
2021-02-08 16:34:56 -08:00
Michael Kirk
7cd4329866
fix census driven activity model ( #507 )
...
It was failing because the version of flatgeobuf we were using was not
compatible with the recent tokio update. Now we point to the unreleased
flatgeobuf which is compatible.
2021-02-08 14:15:58 -08:00
Dustin Carlino
802e020520
Import a SUMO network, transform it into an ABST map. So far, this gets
...
lanes and intersections displaying, but with lots of problems.
2021-01-05 12:44:38 -08:00
Dustin Carlino
5c04923dff
Split abstio crate out from abstutil. #253
...
widgetry, geom, and abstutil may wind up on crates.io in some form to
let other projects use widgetry. abstio has A/B Street-specific tricks
for reading data on native/web. Note widgetry still depends on abstio,
will figure out how to clean that up next.
2021-01-02 10:28:00 -08:00
Michael Kirk
acadad8bdf
fetch US census data from a hosted FlatGeoBuf ( #432 )
2020-12-31 16:20:32 -08:00
Dustin Carlino
312a721e63
Fold the separate seattle_traffic_signals git repo back into this one.
...
Originally it was split out to organize a separate volunteer mapping
effort, but that never took off, and it's unlikely to happen. When we
have to occasionally update the prebaked signal data for some
intersections, it's unnecessary friction to update the other repo.
2020-12-31 11:01:48 -08:00
Dustin Carlino
6642c6e1a9
Rename the experiment crate in preparation for a Monday release
2020-12-19 10:01:28 -08:00
Michael Kirk
8b9b3ce2b1
census areas import ( #425 )
...
#424
2020-12-14 17:48:47 -08:00
Dustin Carlino
f23dacbde7
Start some skeleton code for tomorrow's hackathon
2020-12-09 22:11:05 -08:00
Dustin Carlino
c450922211
Split out the 15min tool to its own crate.
2020-11-23 17:58:32 -08:00
Dustin Carlino
139d435bd3
Split out the OSM viewer to its own crate, porting over a simple form of current_selection. Temporarily omit the minimap and navigator from it.
2020-11-23 17:58:32 -08:00
Dustin Carlino
ad0d1ae7a4
Split out the OSM parking mapper into a separate app, temporarily
...
WITHOUT mouseover.
2020-11-23 17:58:32 -08:00
Dustin Carlino
ab2f6fefec
Split the controls experiment into a separate binary, get it to draw a
...
map way more simply than the game
2020-11-23 17:58:32 -08:00
Dustin Carlino
558eb6f716
Extract DrawMap into a separate crate, along with everything else it
...
depends on.
The goal is to be able to split things like the OSM viewer, parking
mapper, and 15 min tool into separate crates from the game, while still
sharing lots of code.
2020-11-23 17:58:32 -08:00
Dustin Carlino
ad7a25f7f2
Prototype a simple data format for collision data. Import data for Leeds and London. #87
2020-11-05 16:16:40 -08:00
Dustin Carlino
576e64e246
Consolidate integration tests from the map_tests crate and some of the
...
stuff smushed into game for some reason
2020-11-05 12:42:52 -08:00
Dustin Carlino
bb6dbb0731
Switch from stdweb to websys for #21 .
...
When I added web support in February, it was easier to get started with
stdweb, since it has the nice cargo web tool. However, stdweb is
unmaintained, winit is deprecating support for it, and the next steps
for web (downloading maps dynamically) have better support for web-sys.
With Alvin's guidance, I got
https://github.com/dabreegster/minimal_websys_winit_glow_demo working
first. This PR cuts A/B Street over too.
I tested abst and the widgetry demo in both native and web. The only
major regression from stdweb is the canvas placement and size. I
attempted some fixes, but at this point, I'll leave it as a smaller
followup instead.
2020-10-05 19:50:52 -07:00
Dustin Carlino
533fca1f61
Upgrade winit and glutin [rebuild]
2020-10-02 21:31:56 -07:00
Dustin Carlino
f73d9da080
Conjure Traffic Seitan, a tool to make byzantine live map edits, to cause chaos and flush out bugs...
2020-10-01 18:24:35 -07:00
Dustin Carlino
ec114e51e1
Prototype an idea for unit testing the turn generation code. Hardcode a
...
simple .osm, turn it into a full Map, and inspect the results.
2020-09-30 16:30:28 -07:00
Michael Kirk
95b01c5f9e
macos fix: flip h-scroll to conventional direction ( #310 )
2020-09-06 13:10:37 -07:00
Dustin Carlino
b13f5b0f4a
Move iotool things into the importer package, but keep separate binaries
2020-09-03 11:49:53 -07:00
Dustin Carlino
2935d2379b
Mechanical rename of ezgui -> widgetry, a much better name to enchant the Rust community. #253 [rebuild]
2020-08-27 10:37:04 -07:00
Dustin Carlino
7cbc0fd95c
Make a tool to dump the map in JSON.
2020-08-19 12:49:30 -07:00
Dustin Carlino
a6a454d326
Add a tool to import external traffic demand data. The format and way of
...
calling the tool (not in the importer?) are just experiments right now.
2020-08-17 12:32:09 -07:00
Michael Kirk
3ed8b9cf81
Fix glium build, which was broken with: 85ad194d
...
85ad194d
introduced a patched winit.
In the glium build, we were pulling in a second version of winit (the
unpatched version, via glutin). This caused conflicts between the data
types, breaking the build.
Apparently the proper way to specify a patch like this, usable by
transitive dependencies, is via cargo's "patch" specifiers
2020-08-14 15:11:49 -07:00
Dustin Carlino
56cb59c3ac
rip out gtfs code, cutover to osm. will revisit this later; gtfs and osm probably disagree on routes and stops, and gtfs has schedule. but for now, just osm.
2020-07-03 17:33:32 -07:00
Dustin Carlino
855d8f4d22
update glutin, winit, glium now that a fix for linux startup time is upstreamed in glutin. and a few other packages too. ditch geo-offset dependency, since it uses old versions and isn't being used yet
2020-06-01 09:18:17 -07:00
Dustin Carlino
43fe432e07
starting a tool to more granularly manage data files. my half, uploading
2020-05-01 19:22:03 -07:00
Dustin Carlino
8be319300b
fold the popdat crate into importer; nothing else should have any dependencies on it
2020-04-25 13:14:48 -07:00
Dustin Carlino
bf8c35788b
moving popdat+precompute into the new unified importer
2020-03-26 10:26:01 -07:00
Dustin Carlino
0133685eb7
converted the import.sh shell script into Rust. towards #27
...
as part of this, wound up grabbing fresh OSM and GTFS. but actually cant
reimport OSM right now, because fixes reference old OSM IDs and things
break. so sticking with old OSM, but new GTFS. urgh.
2020-03-25 19:54:33 -07:00
Dustin Carlino
f20b7912eb
nuke tests and the custom runner. I've never managed to use this regularly, it constantly makes refactoring more annoying, and validation gets expressed in more direct ways by other processes. will revive at some point properly with a better plan.
2020-03-12 14:12:59 -07:00
Dustin Carlino
377fed6ce0
cutover to the separate traffic signals repo
2020-03-10 17:08:19 -07:00
Dustin Carlino
d44303de5c
starting a new crate with a JSON schema for traffic signals. exporting
...
to it.
2020-03-04 11:59:41 -08:00
Dustin Carlino
ee9485a144
use my glutin fix to start windows on linux faster, until it's upstreamed
2020-02-28 12:54:21 -08:00
Dustin Carlino
696f78751b
oh yeah, rust 1.41 has profile overrides. have some massive speedup in
...
debug mode. :D
2020-02-18 07:56:38 -08:00
Dustin Carlino
18b5d1ae8f
goodbye, fix_map_geom. rename synthetic crate to map_editor
2019-09-23 13:54:09 -07:00
Dustin Carlino
cb7121162b
folding viewer into ezgui crate
2019-09-11 15:27:12 -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
4410c4977b
remove unused crates: analyze_code, halloween, playground_gui
2019-09-07 12:59:08 -07:00
Dustin Carlino
3b164df9b0
delete old tmp_gfx crate
2019-08-04 17:12:51 -07:00
Dustin Carlino
1f34e591e0
debug_initialmap: use loading screens, stop depicting half-roads, draw
...
OSM tags non-invasively on the side, rename it, highlight degenerate
intersections
2019-06-13 13:20:24 -07:00
Dustin Carlino
8c834da537
remove experimental benchmark_pathfinding crate; something new is coming soon
2019-06-11 14:36:41 -07:00
Dustin Carlino
3663c19cdc
starting a new crate to import extra population data
2019-05-20 07:48:30 -07:00
Dustin Carlino
a67b595df6
making a small crate just to benchmark pathfinding
2019-03-02 10:23:12 -08:00
Dustin Carlino
1970b7066e
extract generic viewer stuff into its own crate, separate from the InitialMap stuff
2019-02-01 12:51:50 -08:00
Dustin Carlino
0346166304
starting a generic viewer that works with InitialMap
2019-01-31 16:33:43 -08:00