Sometimes I simplify lines to just points (for minimal QA/debug info) or add
points as well as the lines (for labels)
Right now I use the
[`:centorid()`](https://osm2pgsql.org/doc/manual.html#geometry-objects-in-lua)
for this.
However, when the lines are non-straight, those points don't end up on the line.
It would be nice if there where a pendant to `:centorid()` for lines or an
along ([Turf](https://turfjs.org/docs/api/along)) helper to set it 50% of the
way.
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2469
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/repo-discussions/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving