Dustin Carlino
ecc86b6d6a
revamping MapFixes. very straightforward full override of synthetic/normal stuff, including geometry. no more semantically weird hints like merging roads. some bugs left.
2019-10-27 17:15:27 -07:00
Dustin Carlino
9cfd22d5e0
allow creating new internal points for roads in the editor
2019-10-26 16:32:01 -07:00
Dustin Carlino
0d948cef91
share camera state between game and map_editor
2019-10-26 16:16:32 -07:00
Dustin Carlino
e881d13014
find all the short lanes, from map_editor
2019-10-26 15:01:27 -07:00
Dustin Carlino
1e903c6cee
pass a flag to disable using mapfixes, since it's annoying to keep temporarily deleting these
2019-10-25 10:09:47 -07:00
Dustin Carlino
5784a389c1
quick sidewalk tagger in map_editor, with upstreaming
2019-10-23 14:12:49 -07:00
Dustin Carlino
f7ca317422
optionally use real intersection polygons in map editor, including for grabbing
2019-10-23 13:38:58 -07:00
Dustin Carlino
996eceea92
with the new traffic signal, add back the 520 EB onramp
2019-10-22 15:00:56 -07:00
Dustin Carlino
468fd65021
copy over highway type too for coloring. fill out some metadata in the
...
520 fixes.
2019-10-18 12:15:51 -07:00
Dustin Carlino
4eadcc29f5
allow toggling parking when blockface hints are different through the way. just warn.
2019-10-17 11:36:03 -07:00
Dustin Carlino
10f2f6008f
improve map_editor's intersection preview
...
- timer for setting up world
- preview all intersections
- move world to map_editor; it's too oddly specialized
- dont show circle while previewing intersection geom
- show overlapping intersection polygons
2019-10-16 15:08:22 -07:00
Dustin Carlino
22df33f66a
try to clean up crashes with showing_pts state
2019-10-16 08:58:14 -07:00
Dustin Carlino
84c5241506
when toggling parking, make sure hints applied uniformly to the entire way. warn if not.
2019-10-16 08:47:48 -07:00
Dustin Carlino
1fc9792378
finish producing the osm change
2019-10-15 18:49:06 -07:00
Dustin Carlino
76f5dc21be
steps towards producing an osm change file
2019-10-15 13:43:47 -07:00
Dustin Carlino
74372c64b6
count how many roads have been audited. apply default tags (and mark
...
them inferred) to everything, to count properly.
2019-10-15 12:17:38 -07:00
Dustin Carlino
9a4da1e610
display inferred parking in map editor. fast key to toggle between 4
...
parking states. propagate change to all roads with same way ID.
2019-10-15 12:00:15 -07:00
Dustin Carlino
d6a8b1c1cd
automatically show road points of selected thing in map_editor
2019-10-14 15:39:51 -07:00
Dustin Carlino
f82000cff4
just select entire road in map_editor. individual lanes were only for labeling one side of the road, which is only a theoretical feature for test maps. also dont allow swapping lanes uselessly.
2019-10-13 16:42:03 -07:00
Dustin Carlino
f772f12a7d
combining info/controls for map_editor sidebar
2019-10-13 16:14:47 -07:00
Dustin Carlino
5304aa6ecf
trying out permanent sidebar in map_editor. no more tooltips
2019-10-13 15:31:17 -07:00
Dustin Carlino
df4d37f996
migrate some map_editor stuff to a proper modal menu. display constant
...
OSD for info and for controls.
2019-10-12 19:02:58 -07:00
Dustin Carlino
e7507bad85
plumbing initial settings to ezgui better
2019-10-07 09:45:53 -07:00
Dustin Carlino
cc07d37664
more easily show pts for diff road in editor
2019-10-06 15:56:12 -07:00
Dustin Carlino
0d27a11b2b
map_editor tool to quickly absorb name, speed limit, lanes of nearby road for synthetic roads
2019-10-02 12:11:11 -07:00
Dustin Carlino
393eaff249
compacting SimOptions and SimFlags
2019-10-01 14:22:00 -07:00
Dustin Carlino
71096cf122
refactoring map_editor, by letting main reach into RawMap and World directly for simple stuff
2019-10-01 12:57:51 -07:00
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
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
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
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
537798d5fd
make bulk delete also remove restrictions
2019-09-27 11:49:02 -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
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
536df84844
rename raw_data layer of stuff for easier importing, disambiguation
2019-09-23 15:00:55 -07:00