andrewharvey / geojson-polygon-labels

Command line tool to generate point labels from GeoJSON polygons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Also accept LineString

xeruf opened this issue · comments

commented

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?

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

commented

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 ^^