[Tile-serving] [osm2pgsql-dev/osm2pgsql] Does osm2pgsql with flex output ignore nodes with no tags? (Discussion #2214)

iboates notifications at github.com
Sun Jul 21 12:09:50 UTC 2024


I have tried to simply dump every node into a single table called `nodes`:

```lua
function osm2pgsql.process_node(object)
    nodes:insert({
        tags = object.tags,
        geom = object:as_point()
    })
end
```

It seems that it only inserts a feature if it has at least one tag. I want to get every node with its id, even if it has no tags. Is this possible? I did not see anything about this in the docs.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2214
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/repo-discussions/2214 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240721/03169e7d/attachment.htm>


More information about the Tile-serving mailing list