[Tile-serving] [osm2pgsql-dev/osm2pgsql] Point along line like the "centroid" of a linestring (Discussion #2469)
Jochen Topf
notifications at github.com
Sat May 16 08:15:25 UTC 2026
There is already a change in master that [allows getting any of the nodes in a way as point](47938815da5ae734d113d7fb62af64fbb85bfd80). That's not exactly what you are asking for, but in most cases I have seen the only issue is really to get any point on the line as a "representative" of that line, no matter which point it is exactly. So this might already solve your problem. A [LineInterpolatePoint](https://postgis.net/docs/manual-3.5/ST_LineInterpolatePoint.html) function might still be useful though.
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2469#discussioncomment-16938708
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/repo-discussions/2469/comments/16938708 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20260516/54a3a5f1/attachment.htm>
More information about the Tile-serving
mailing list