anvaka / city-roads

Visualization of all roads within any city
https://anvaka.github.io/city-roads/
MIT License
6k stars 444 forks source link

Filled areas with non closed boundaries #40

Open yoyo42 opened 3 years ago

yoyo42 commented 3 years ago

Hi, love this tool but it generates a lot of shapes with non-closed boundaries that are set to fill. I use it for laser engraving using the Lightburn tool that loads SVGs and it usually warns about several hundred unclosed shapes per map, which it then discards before burning.

Is it possible to force close these shapes, as I assume you know which are supposed to be closed areas from the structure? It could also be minuscule gaps due to rounding errors?

I'm happy to help test it if you get chance to look at it. Thanks