matkoniecz / lunar_assembler

SVG maps from OpenStreetMap data. Available at https://mapsaregreat.com/osm_to_svg_in_browser/
GNU Affero General Public License v3.0
40 stars 5 forks source link

Is there one library that can do clipping/merging areas/lines properly? #38

Open matkoniecz opened 3 years ago

matkoniecz commented 3 years ago

https://github.com/mfogel/polygon-clipping#polygon-clipping - great for polygon/multipolygon. Unable to clip lines

http://turfjs.org/docs/#dissolve - fails to merge multipolygons, can clip lines http://turfjs.org/docs/#bboxClip

And what about merging lines?