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/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving

Reply via email to