According to this question Some OSM tags in polygons and some in points - how to bring them together I used
osmconvert --all-to-nodes to extract the central points of all ways and relations.
I used a osm.pbf as input:
osmconvert osm.pbf --all-to-nodes -o=osm_node.pbf
...or with increasing id:
osmconvert osm.gpkg --all-to-nodes --object-type-offset=10^15 -o=osm_node.pbf
and translated the resulting osm_node.pbf to GPKG with ogr2ogr.
The result is:
The resulting GPKG should have a lot more nodes as the raw data has. But it hasn't...
What am I doing wrong?