Forum:Request help/No more relation-data in the backup-files?

From OpenGeofiction
Revision as of 13:08, 1 October 2022 by Wangi (talk | contribs) (canonical link)
ForumsRequest help or feedback → Request help/No more relation-data in the backup-files?


Hello all! Once in a while i download the latest backup (ogf-planet.osm.pbf) from this page https://data.opengeofiction.net/backups/ . With osmconvert i clip it to the area of my country of Neberly and i have some more scripts to get some data out of it. But with the files i downloaded in august and this morning i noticed there is no more data on relations in them. The files i had before (last from november 2021) did had relation-data. My question is then what happened? Is it on purpose that relation-data is no longer included? Is it somewhere else to find? Or is it some hick-up in te last months waiting to be repaired? Does someone know? Antoon (talk) 09:11, 1 October 2022 (UTC)

Are you sure your tools are up-to-date? I use the backup files all the time, and they have relation data in them. I just did a quick test on a fresh setup:
$ wget https://data.opengeofiction.net/backups/ogf-planet.osm.pbf
$ osmconvert ogf-planet.osm.pbf -o=gobras.osm.pbf -B=gobras.poly --complex-ways
# I can load this OSM.PBF file in JOSM, it has 2253 relations in it
$ osmconvert --version | head -2
osmconvert 0.8.10  Parameter Overview
$ osmconvert gobras.osm.pbf -o=gobras.o5m
$ osmfilter gobras.o5m --drop-nodes --drop-ways --out-count=type
       1512     multipolygon
        399     route
        159     boundary
        103     restriction
         28     route_master
         18     land_area
         10     site
          8     building
          1     collection
          1     relation
          1     treaty
The tools used to create the backup changed around April 2022, older utils might not support reading the newer files? wangi (talk) 13:07, 1 October 2022 (UTC)