Commit Graph

7808 Commits

Author SHA1 Message Date
Dustin Carlino
8e1f9b79f0 PolyLine struct 2018-06-28 18:02:14 -07:00
Dustin Carlino
7f09f22bcf making a line struct 2018-06-28 17:14:27 -07:00
Dustin Carlino
4bdf70365e making my own angle class 2018-06-28 15:07:48 -07:00
Dustin Carlino
987f039404 LonLat to Pt2D more explicit 2018-06-28 14:19:59 -07:00
Dustin Carlino
c7c9fa64df WIP not using ordered float for Pt2D 2018-06-28 14:03:35 -07:00
Dustin Carlino
ff526a6854 split out HashablePt2D 2018-06-28 13:55:43 -07:00
Dustin Carlino
69d6c4ab43 organizing map making code a little 2018-06-27 13:58:11 -07:00
Dustin Carlino
849a132a6a dashed white lines on big roads 2018-06-27 12:48:11 -07:00
Dustin Carlino
5e362cdfc5 multiple driving lanes on big roads, and simplifying LaneSpecs 2018-06-26 14:46:27 -07:00
Dustin Carlino
02d7053239 trying to fix the general case... maybe detecting the problem. giving up
for now.
2018-06-26 14:09:53 -07:00
Dustin Carlino
f5fc04a14e WIP debugging bad polygons. seemingly fixed one pt inversion case that
happens only on the first pt.
2018-06-26 13:23:56 -07:00
Dustin Carlino
ed799097dc render parcel interior with nice colors, but draw it lowest 2018-06-26 11:22:18 -07:00
Dustin Carlino
50aa53e9a9 drawing parking markings too 2018-06-26 11:11:34 -07:00
Dustin Carlino
736d143b30 draw sidewalk marks 2018-06-26 10:36:24 -07:00
Dustin Carlino
82bac55275 use cbor for maps 2018-06-26 09:45:01 -07:00
Dustin Carlino
43536743a8 warp plugin, and making text entry handle numbers 2018-06-26 09:05:14 -07:00
Dustin Carlino
091d1ef98d handle parallel line intersection, which was making bigger maps break 2018-06-26 08:36:18 -07:00
Dustin Carlino
8de92c095a OSM tags as a hash, now that serialization is easy 2018-06-26 07:35:34 -07:00
Dustin Carlino
bc92c3ca8d replacing the pb with serde stuff 2018-06-25 18:56:57 -07:00
Dustin Carlino
fcec05cdfa rm old thick line stuff at last 2018-06-25 16:16:40 -07:00
Dustin Carlino
afeaed1065 fix length fxn 2018-06-25 15:45:17 -07:00
Dustin Carlino
e1e3abbb28 fixed turns that vanished 2018-06-25 15:42:04 -07:00
Dustin Carlino
5a9bc56c32 center lines are finally gone 2018-06-25 15:34:21 -07:00
Dustin Carlino
0fa7fc25d4 use center pts in more places... 2018-06-25 15:23:15 -07:00
Dustin Carlino
ebbdc82f14 trim back center pts, not center lines 2018-06-25 14:55:09 -07:00
Dustin Carlino
729ad9df24 plumb in new lane center pts, and use them for rendering always. looks OK... 2018-06-25 14:50:18 -07:00
Dustin Carlino
571673b02f figuring out where polygons go wrong... 2018-06-25 14:41:00 -07:00
Dustin Carlino
9133f7edc1 split lane profiles into a fxn 2018-06-25 14:33:03 -07:00
Dustin Carlino
94e8f7a4bf switch to new polygons for cars. seems to work. 2018-06-25 14:01:55 -07:00
Dustin Carlino
7c747ea9ee working on calculating start/end crossings explicitly 2018-06-25 13:48:30 -07:00
Dustin Carlino
fef18fbf2f use new polygons for parcels... 2018-06-25 13:29:31 -07:00
Dustin Carlino
1f34f588a3 undo the debug 2018-06-25 13:21:51 -07:00
Dustin Carlino
e2dda62175 bam, line trimming... kind of works 2018-06-25 13:19:01 -07:00
Dustin Carlino
dfdd717c29 use shifted points for polygon, all using the old polyline stuff... 2018-06-25 13:17:28 -07:00
Dustin Carlino
6cad6c7394 working on the line trimming logic. seems to do something? 2018-06-25 13:11:55 -07:00
Dustin Carlino
2451244344 splitting out a mapmaking fxn 2018-06-25 12:03:34 -07:00
Dustin Carlino
6afb71ea5f preps for line trimming 2018-06-25 11:54:15 -07:00
Dustin Carlino
f9db14fed7 slightly less chaos in the roundabout 2018-06-25 11:19:08 -07:00
Dustin Carlino
427bdf3f34 compute front path upfront 2018-06-25 11:16:33 -07:00
Dustin Carlino
2eb0193fb3 slight fixup to drawmap ctor 2018-06-25 10:32:17 -07:00
Dustin Carlino
8e1af1f4ea store graph connections more sanely 2018-06-25 10:28:33 -07:00
Dustin Carlino
06b28f2d2d finishing screenspace translation of roads and intersections 2018-06-25 10:13:02 -07:00
Dustin Carlino
1242ec5297 WIP transforming gps to screen space earlier 2018-06-25 09:40:37 -07:00
Dustin Carlino
ee90ce1ed8 cleaning up redundant extern crates 2018-06-25 09:14:44 -07:00
Dustin Carlino
3edbf30719 woops, forgot to fix a sim test ages ago when refactoring json writing/reading 2018-06-25 09:06:40 -07:00
Dustin Carlino
ba310cbd45 removing geom crate, using just map model 2018-06-25 09:00:43 -07:00
Dustin Carlino
4489abd301 same for GeomTurn 2018-06-25 08:37:32 -07:00
Dustin Carlino
a8532fe210 copying GeomRoad stuff in, calling it, not using it 2018-06-25 08:33:56 -07:00
Dustin Carlino
35e3f9807d compute gps bounds up front, to prep for geom merging 2018-06-25 08:17:12 -07:00
Dustin Carlino
d9e46c5960 splitting map model into more modules 2018-06-25 08:08:38 -07:00