Commit Graph

2510 Commits

Author SHA1 Message Date
Dustin Carlino
c82e90bbec allow merging short roads with metadata changes. some fixes around
madison
2019-09-30 10:11:45 -07:00
Dustin Carlino
75b18ccfd5 plumb back better errors for not being able to make map_editor changes 2019-09-30 09:49:47 -07:00
Dustin Carlino
707a649fdd skip empty phases of generated traffic signals 2019-09-30 09:35:42 -07:00
Dustin Carlino
a539270beb dont compare GPSBounds exactly, bc floating pt serialization problems.
add a turn restriction near uw.
2019-09-30 09:24:17 -07:00
Dustin Carlino
c971a732dd more flexibly merge short roads with stop sign and traffic signal. use it to fix a stuck part of 23rd. 2019-09-29 20:50:14 -07:00
Dustin Carlino
2e5649bf7e show count of aborted trips in scoreboard too 2019-09-29 19:19:51 -07:00
Dustin Carlino
909ce857fb count aborted trips with active agent counter better 2019-09-29 14:44:09 -07:00
Dustin Carlino
4de97f2f2b fixing two montlake roundabouts; saw some gridlock there. the whole day
now finishes without gridlock. O_O
2019-09-29 14:17:10 -07:00
Dustin Carlino
666896bb88 start over with 520 fixes, after hopefully fixing all the ID issues 2019-09-29 12:59:31 -07:00
Dustin Carlino
9d237f314b dont conflict between synthetic OSM IDs created by map_editor and by map clipping 2019-09-29 12:43:02 -07:00
Dustin Carlino
1edb3cf81b digging into why synthetic roads are getting connected to weird places.
warping functionality, more ID debugging
2019-09-29 12:30:48 -07:00
Dustin Carlino
e335d2ff02 manually repair the 520 fixes. things look reasonable for montlake and
23rd, but very weird for other maps
2019-09-29 11:49:16 -07:00
Dustin Carlino
b99dfce763 transform geometry in MapFixes based on GPSBounds. also have to
abandon the 520 fixes, because something odd is going on with the newer
osm import. :( IDs changed?
2019-09-29 10:17:02 -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
35892aee61 just abort a trip if theres literally no room for a car to park. 2019-09-27 14:11:26 -07:00
Dustin Carlino
96a50e0076 finally checking in a basic fix for montlake/520 area. no more
gridlock... running out of parking now around 4pm!
2019-09-27 12:56:26 -07:00
Dustin Carlino
537798d5fd make bulk delete also remove restrictions 2019-09-27 11:49:02 -07:00
Dustin Carlino
1a7e0b0a07 fiddle with apply_fixes order to make deleting roads with restrictions work 2019-09-27 11:24:04 -07:00
Dustin Carlino
0ef002ad30 saving the turn restriction mods 2019-09-27 11:19:27 -07:00
Dustin Carlino
1a678f6e72 revamp osm turn restriction handling. capture the 'via' to disambiguate things, and match to roads way sooner. not persisting to MapFixes again. 2019-09-27 11:05:19 -07:00
Dustin Carlino
00b9fc18e3 working on intersection geometry. few disabled things. 2019-09-26 15:56:31 -07:00
Dustin Carlino
2554b08641 upgrade to rust 1.38, fix new clippy errors 2019-09-26 14:38:50 -07:00
Dustin Carlino
0961475abc some prep to make debugging intersection geometry in map_editor easier.
showing cursor pt and labeled debug lines.
2019-09-26 14:29:23 -07:00
Dustin Carlino
837de16c32 preview intersection geometry from map_editor 2019-09-25 12:20:13 -07:00
Dustin Carlino
b9df20de5c save turn restriction edits in MapFixes. some caveats. 2019-09-25 11:51:34 -07:00
Dustin Carlino
1b21f03464 cant add turn restriction btwn unconnected roads 2019-09-25 11:03:12 -07:00
Dustin Carlino
cfa21d4cc3 cant delete roads involving turn restrictions 2019-09-25 10:50:06 -07:00
Dustin Carlino
ffc8050623 refactoring OSD text construction 2019-09-25 10:36:22 -07:00
Dustin Carlino
15db77a82b show trips to/from borders, not just bldgs 2019-09-25 10:25:18 -07:00
Dustin Carlino
23166b1aa8 switch to turn restriction enums, so we can easily use IDs in map_editor 2019-09-24 18:58:06 -07:00
Dustin Carlino
dd9827df72 add/delete turn restrictions, without saving in fixes yet. adding is
buggy.
2019-09-24 18:35:57 -07:00
Dustin Carlino
02858944f0 draw turn restrictions in map_editor 2019-09-24 17:09:06 -07:00
Dustin Carlino
8046f36936 working on turn restrictions in map_editor 2019-09-24 13:55:41 -07:00
Dustin Carlino
67fb1b39da filling in more validity checks for map_editor... 2019-09-24 13:24:33 -07:00
Dustin Carlino
b11f33f7f6 trying out a different type of menu for agent controls. explicitly
add/remove actions, and grow/shrink the menu based on temporarily
activated things
2019-09-24 13:02:23 -07:00
Dustin Carlino
39f555a788 trying out traffic signals rendered per lane, resuming from hackathon.
progress, but still doesnt look comprehensible. also flip intersection
color to blend in with roads more -- black doesn't look right, but
matching the parking lanes actually looks reasonable.
2019-09-24 10:20:31 -07:00
Dustin Carlino
fe41fcc858 robustify kml rendering 2019-09-23 17:38:45 -07:00
Dustin Carlino
c54cffe694 render yellow center lines as dashed 2019-09-23 16:42:49 -07:00
Dustin Carlino
130cb59b5d update map article after all the recent changes 2019-09-23 16:24:25 -07:00
Dustin Carlino
b108f0cbc0 remove the intermediate HalfMap structure 2019-09-23 16:06:43 -07:00
Dustin Carlino
536df84844 rename raw_data layer of stuff for easier importing, disambiguation 2019-09-23 15:00:55 -07:00
Dustin Carlino
333f976721 remove dead merge code 2019-09-23 14:12:54 -07:00
Dustin Carlino
72d834b332 remove hints. MapFixes took over. 2019-09-23 14:10:50 -07:00
Dustin Carlino
18b5d1ae8f goodbye, fix_map_geom. rename synthetic crate to map_editor 2019-09-23 13:54:09 -07:00
Dustin Carlino
ae31d2d983 disable cpuprofiler dep in ezgui by default, since it requires manually installing some other stuff 2019-09-23 13:37:47 -07:00
Dustin Carlino
f06db4ecb4 remove the old hacky fix_ramps phase. underlying problem is probably pedestrian islands not being modeled properly. workarounds now possible through synthetic. 2019-09-23 12:48:55 -07:00
Dustin Carlino
1495cc2970 remove redundancy of osm IDs on raw stuff 2019-09-23 12:08:00 -07:00
Dustin Carlino
deaa555565 cutover Original{Road,Intersection} to just use OSM IDs. adjust a few
other places to ensure unique-per-map synthetic OSM IDs
2019-09-23 11:50:04 -07:00
Dustin Carlino
8e9879ab07 some docs for new devs 2019-09-22 13:16:32 -07:00