mbloch / mapshaper

Tools for editing Shapefile, GeoJSON, TopoJSON and CSV files
http://mapshaper.org
Other
3.78k stars 535 forks source link

filter islands equivalent for lines #373

Open matkoniecz opened 5 years ago

matkoniecz commented 5 years ago

My usecase: I make a decorative graphic based on road data.

I know that road network is continuous, but there are small lines that are unconnected to the main network.

I want to

(a) remove them (to keep from main result) (b) keep only small areas (to produce debug build to easily check how significant is problem - maybe data should be slightly improved to connect them)

below: diagnostic rendering with multiple broken segments

Selection_001

matkoniecz commented 5 years ago

In this case I would be happy to try implementing this - if such improvement has chance to be accepted and it is likely that such change is doable for someone new to the codebase.

mbloch commented 5 years ago

This is not a good "first issue" for someone not familiar with the codebase.

It seems like a worthwhile addition... I'll think about the best way to add this functionality.