-
Notifications
You must be signed in to change notification settings - Fork 2
Country report Argentina
Peter edited this page Aug 15, 2018
·
6 revisions
Argentina is the Q414
Wikidata item and the AR
ISO abbreviation. Database dumps collected in July 2018.
...
The filtered elements with the wikidata
tag (a Wikidata-ID value wd_id
) showed the foloweing profile, about "direct use of the wikidata-tag".
element_type | Elements with wd_id | With distinct wd_id | % distincts |
---|---|---|---|
n | 6362 | 5733 | 90 |
r | 2965 | 2827 | 95 |
w | 1089 | 787 | 72 |
The most common reason for wd_id
duplication is by tagging fragments, that is, the parts instead the whole. The most common element type edited with this part/whole confusion is way element (w
).
Way (w
) and relation (r
) elements with members that have wikidata-tag, represents indirect use. The "feature type" is expressed by type
and higthway
tags, splitting the profile:
osm_type | feature_type | n_direct | n_total | Directs |
---|---|---|---|---|
n | 6360 | 6360 | 100% | |
r | boundary | 2343 | 2748 | 85% |
r | multipolygon | 322 | 323 | 100% |
r | route | 205 | 235 | 87% |
r | waterway | 64 | 64 | 100% |
r | public_transport | 14 | 14 | 100% |
r | route_master | 8 | 8 | 100% |
w | 1010 | 29617 | 3% | |
w | trunk | 38 | 7434 | 1% |
w | primary | 25 | 7109 | 0% |
w | secondary | 14 | 4156 | 0% |
w | residential | 1 | 4467 | 0% |
w | motorway | 0 | 1999 | 0% |
w | tertiary | 0 | 1877 | 0% |
Procedures described by simple-osmWd2csv:
wget https://download.geofabrik.de/south-america/argentina-latest.osm.pbf
osmium tags-filter argentina-latest.osm.pbf nwr/wikidata -o AR_wd.osm
sh src/step1-osmWd2csv_pre.sh < AR_wd.osm | php src/step2-osmWd2csv.php > /tmp/AR_wd.raw.csv
psql -U postgres work < src/step0-osmWd_lib.sql
psql -U postgres work < src/step3-osmWd_parseRaw.sql
Pontos próximos (nodes) e com mesmo Wikidata ID.