Forum:Request help/No more relation-data in the backup-files?: Difference between revisions
(are you sure your tools are up-to-date?) |
m (canonical link) |
||
Line 3: | Line 3: | ||
<!-- Write below this line, please. --> | <!-- Write below this line, please. --> | ||
Hello all! Once in a while i download the latest backup (ogf-planet.osm.pbf) from this page https:// | 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? [[User:Antoon|Antoon]] ([[User talk: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: | :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: |
Revision as of 13:08, 1 October 2022
Forums → Request 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