andrewharvey / geojson-polygon-labels

Command line tool to generate point labels from GeoJSON polygons
ISC License
81 stars 16 forks source link

Also accept LineString #27

Open xeruf opened 1 year ago

xeruf commented 1 year ago

Thanks for the awesome tool! Through an osmium export I get features of type Point, LineString and MultiPolygon - is it possible to apply this algorithm to LineStrings as well, since these effectively represent polygons in my dataset?

andrewharvey commented 1 year ago

Not currently supported, interested to hear more detail about how that could work.

xeruf commented 1 year ago

Well, a LineString is also simply an accumulation of points, so with few tweaks it could be covered by this as well. But I don't know much about the formats, I just used them for something else and stumbled upon this ^^