[Tile-serving] [osm2pgsql-dev/osm2pgsql] Style file to only use nodes that my ways use (Discussion #2311)
Jochen Topf
notifications at github.com
Sat Mar 22 08:00:36 UTC 2025
There is currently no direct way to do this. But you can get the geometry of a way (`object:as_linestring()`) and you can get all the ids of the member nodes (`object.nodes`) in the way callback. And you can import all the nodes with certain tags (say `barrier`) into the database. Then you can do some post-processing in the database to assemble the data again. But the details depend on what exactly you are trying to achive. If you tell us more about your use case maybe we can give a more concrete answer how to solve that.
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2311#discussioncomment-12584547
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/repo-discussions/2311/comments/12584547 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20250322/09b3206a/attachment.htm>
More information about the Tile-serving
mailing list