News for hackers. Stuff that matters.
Re:Prettymaps: Small Python library to draw customized maps ... by dabreegster on Wednesday August 25, 2021 @03:16PM (#28305680)
Especially if you're trying to clip your entire map to some boundary, rendering the ocean is hard. https://github.com/a-b-street/abstreet/issues/32 has some examples of "flooded" maps when the heuristics get the inversion wrong. https://github.com/a-b-street/abstreet/blob/9761373c4b215485... is my incomplete attempt to deal with these partial multipolygons.
Re:Prettymaps: Small Python library to draw customized maps ... by kqr on Thursday August 26, 2021 @01:19AM (#28310993)
Potentially dumb suggestion: what if one just declares anything that has a significant chunk of non-bridge or non-tunnel street on it land? It's not a universal solution but perhaps sufficient for the application?
Re:Prettymaps: Small Python library to draw customized maps ... by mvh on Thursday August 26, 2021 @08:03PM (#28322637)
I recently made a map (using Generic Mapping Tools) of one of the Aleutian Islands in Alaska, for one of my dad’s grad students to use in a paper. That would constitute a good example of where you couldn’t just tell my # of built structures (since at certain zoom levels, there are none!)
Re:Prettymaps: Small Python library to draw customized maps ... by kqr on Friday August 27, 2021 @02:09AM (#28324791)
Sure, but are you likely to have users want to A/B test traffic light configurations there? My suggestion was very specific to the application in question.