Dustin Carlino
7cd0c77068
plot scheduled arrival rate at borders. downtown is crazy.
2020-07-14 12:57:58 -07:00
Dustin Carlino
7880d646ca
rewrite AgentColorScheme, add the parking color to the legend
2020-07-14 10:09:17 -07:00
Dustin Carlino
d31ead5788
clearly show cars just cruising around trying to park, so it's
...
abundantly clear when parking availability is squeezed. need to change
the minimap legend now.
2020-07-14 09:33:10 -07:00
Dustin Carlino
a5cf34ff59
refactor the osm tags helper
2020-07-14 09:03:37 -07:00
Mateusz Konieczny
289b3561df
it is just city center, not entire one ( #193 )
...
neither Bronowice, nor Nowa Huta are included
Entire one should included airport terminal on West ( https://www.openstreetmap.org/?mlat=50.0701&mlon=19.7960#map=12/50.0701/19.7960 )
and reach main steelwork entrance on East ( https://www.openstreetmap.org/?mlat=50.0787&mlon=20.0682#map=12/50.0787/20.0682 )
Current area is fitting (capable of running on my laptop) and good one if one wants to play solely with city center, just name is misleading.
2020-07-14 07:55:38 -07:00
Mateusz Konieczny
6b337c10ec
drop unneded todo ( #194 )
2020-07-14 07:42:36 -07:00
Dustin Carlino
33c5ffef4c
first wave of character art from holly!!!
2020-07-13 21:09:36 -07:00
Dustin Carlino
b4b8556f46
just get a few new traffic signals and add parking to south seattle, to
...
try to make progress
2020-07-13 16:07:35 -07:00
Dustin Carlino
f76b40b8f7
remove old hacks that disabled different checks on certain intersections. new progress fixes the gridlock in a more general way
2020-07-13 15:33:32 -07:00
Dustin Carlino
46789847a7
offstreet parking blocks the road for less time. seeing unrealistic
...
gridlock near the huge parking lots downtown from this
and fix a bug with spawning bike trips. never OK to silently not
schedule a trip, because it breaks the schedule continuity
2020-07-13 15:17:14 -07:00
Dustin Carlino
0f82c21560
- manually fix a few crazy signals downtown.
...
- interpret tags to make 3rd Ave bus-only. cars technically allowed
sometimes, but bus-only is more accurate for now.
- also remove austin from bundled maps. maintaining it has a cost, and
the point was just to have at least one non-seattle city kept up to
date. krakow now satisfies that.
2020-07-13 13:40:46 -07:00
Dustin Carlino
b68e233125
trying to handle gridlock near tiny roads for #114 . treat the entire
...
sequence as one thing to lock -- don't start it until it's clear, and
prevent new conflicting turns once started. disable block-the-box
protection inside.
I'm not sure this is helping at all yet. maybe it's just more complex.
2020-07-13 12:30:24 -07:00
Dustin Carlino
85b45caf1a
stop warning for roads without names if they use 'noname=yes'. related
...
to #147
2020-07-13 10:40:45 -07:00
Dustin Carlino
c2bd5fcf6f
more helpful errors for routes. fixes #186
2020-07-13 10:15:34 -07:00
Dustin Carlino
b058d5d926
cargo fmt and regenerate map data
2020-07-13 10:11:48 -07:00
Mateusz Konieczny
885fdefb5d
playing with processing modifications ( #183 )
...
* WIP set up plumbing for calculating building info in the Raw layer and using it later for #154
* WIP playing with processing modifications
* experiment with some possibilities for tag processing
* fix an embarassing typo
* enable busses in work-home traffic
* refactor, add multiuse
* seed more parking in Kraków
* parse integers properly - thanks for a help!
* rebalance generated trips
* add hack providing some background traffic
more realistic traffic
even mess realistic people
* attempt to further reduce parking deficit
* add TODO
Co-authored-by: Dustin Carlino <dabreegster@gmail.com>
2020-07-13 09:56:05 -07:00
Dustin Carlino
5e57c5ee92
new release
2020-07-12 12:36:12 -07:00
Dustin Carlino
3c816b206d
grab fresh osm with some lane fixes downtown. adjust the release slightly to make it easier to use the one-shot importer. [rebuild]
2020-07-12 11:46:52 -07:00
Dustin Carlino
35a63af590
don't lane-change unnecessarily
2020-07-12 10:42:28 -07:00
Dustin Carlino
52ab8b5ec3
get zorder correct for unzoomed roads/intersections. regenerate this
...
layer when making edits, since intersections can change (interesting to
not) and also roads (access restrictions)
2020-07-12 09:31:30 -07:00
Dustin Carlino
faedffae99
finally flushed out one of the common crashes: shifting some car bodies
...
to make wheels breaks sometimes. just skip the wheels.
2020-07-11 17:10:36 -07:00
Dustin Carlino
4a92841dc9
update new_city docs, describe how to get .osm files, and explain how to upstream fixes in osm. fixes #133 and #117 .
2020-07-11 16:50:18 -07:00
Dustin Carlino
d8dea10f29
woops, flipped a sign and broke some outlines
2020-07-11 16:08:33 -07:00
Dustin Carlino
0c283d0da7
finish up the grand geom stabilization with ring and some docs.
...
regenerated everything from scratch. one effect is more parking
blockface gets matched onto border roads, but that's fine.
2020-07-11 16:05:26 -07:00
Dustin Carlino
07ed1fec95
more polyline work... get rid of Warn<>. extremely spammy and hasn't
...
been helpful in ages.
2020-07-11 15:17:16 -07:00
Dustin Carlino
f8b8c501ae
tighten up more PL scariness
2020-07-11 14:51:25 -07:00
Dustin Carlino
cce624edd8
start the big one: Polyline::new
2020-07-11 13:42:19 -07:00
Dustin Carlino
0593aa52d9
more caution in Line API
2020-07-11 13:05:34 -07:00
Dustin Carlino
98c6f46c78
the first real big change: Line::new always returns Option
2020-07-11 12:37:38 -07:00
Dustin Carlino
0dd3199f7a
cut down variations of pt2d<->gps. mostly we want to forcibly convert.
...
possible semantic change: soundcast border matching now includes ALL
borders, even if the center is slightly OOB
2020-07-11 12:02:12 -07:00
Dustin Carlino
0f11da79bd
start replacing assertions and panics with results or better error
...
messages. covering all of the easy things in the geom crate.
2020-07-11 11:35:03 -07:00
Dustin Carlino
f8ace3c0ab
per-city config to let bikes use bus lanes, for #184
...
while I'm regenerating maps anyway, grab fresh seattle osm with more
lane fixes. and parallelize a slow point matching step -- 10x speedup
for austin
2020-07-11 11:08:23 -07:00
Dustin Carlino
c20e370139
parse OSM bus/psv lanes better. towards #168 . need to handle
...
https://wiki.openstreetmap.org/wiki/Key:lanes:psv next
2020-07-10 20:31:49 -07:00
Dustin Carlino
4919fbf90f
autodetect ICs across the whole map, not just when there are complex
...
turn restrictions
and... enable the new "run the red light" after starting an uber-turn. I
can get to 6am on downtown with a few simple edits now.
2020-07-10 17:39:25 -07:00
Dustin Carlino
7ab78d543a
ignore red lights in the middle of an uber-turn. currently disabled
...
until a few more things are in place, but this is headed in the right
direction. [rebuild]
2020-07-10 16:03:22 -07:00
Dustin Carlino
4c8ad5a8da
determine if a vehicle is currently performing an uber-turn, without
...
modifying the low-level PathSteps. also make sure to not try LCing when
going into one.
on the cusp of being able to treat complicated intersections as one...
2020-07-10 12:40:51 -07:00
Dustin Carlino
05c47852b0
color buildings with some amenity slightly differently. and grab fresh krakow osm data
2020-07-10 11:20:56 -07:00
Dustin Carlino
d00bbb31c3
filter parcels outside of the boundary polygon. speed up the kml viewer
2020-07-10 10:56:02 -07:00
Dustin Carlino
873c14a5b6
when previewing traffic signals after deleting phases, need to possibly
...
reset the phase counter to fix #179
2020-07-10 09:34:45 -07:00
Dustin Carlino
585ba4f137
when sidewalks=separate, don't put sidewalks on both sides of a one-way.
...
this is a complete guess, but seemingly a better one for some sample
cases in seattle and krakow. helps with #178 .
also opt krakow into screenshot diff testing; it has enough different
things happening that it's worth watching more carefully how importing
changes affect it.
2020-07-09 18:53:15 -07:00
Dustin Carlino
3ecf05e1bb
add/rm roads from zones. not handling merges/splits yet.
2020-07-09 16:38:19 -07:00
Dustin Carlino
3639379313
importer option to assume onstreet parking on some residential roads, if OSM doesnt say anything. give 50% of residential roads in krakow some parking. fixes #171
...
also clean up the seattle sidewalks dataset for now; the matching code
is quite bad, and not planning to use this anytime soon
2020-07-09 15:14:08 -07:00
Dustin Carlino
19409dfc8c
add krakow as an optional city. need to specify more customization for #171 , and given how much work is focused here, using the one-shot importer no longer makes sense
2020-07-09 14:33:39 -07:00
Dustin Carlino
98ca2341c8
adjust params on the people generator for #154
2020-07-09 13:48:49 -07:00
Dustin Carlino
ead4a99682
prototype a better random traffic generator
2020-07-09 13:04:41 -07:00
Dustin Carlino
4340ad585b
convert the rest of usize IDs to u32. savings:
...
maps: 645mb -> 625mb
scenarios: 431mb -> 390mb (before all the u32 optimizations, this as
500mb!!!)
prebaked: 80mb -> 73mb
and while I'm at it, grab fresh OSM, with lots of manual lane fixes,
especially near divided highways
2020-07-09 11:43:34 -07:00
Dustin Carlino
4cb35c6e3b
fix parking aisle matching; need to use the center to match it to the closest lot
2020-07-09 10:22:53 -07:00
Dustin Carlino
29ecc44158
fix deadend geometry for cases where the left/right side of a road change after trimming the center points
2020-07-09 10:21:00 -07:00
Dustin Carlino
3370aae83b
don't spawn new traffic on the screensaver every time we bounce off the
...
screen edge. the scenario generator starts person IDs from 0, so was
breaking. fixes #172
2020-07-09 10:08:58 -07:00
Javed Nissar
c8b12c40bb
Resolve #13 by adding traffic to the title screen in order to make the ( #144 )
...
title screen more visually interesting
2020-07-08 19:38:58 -07:00