OpenSeaMap-dev:De:Lights-WP-WD: Unterschied zwischen den Versionen
Markus (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Markus (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 118: | Zeile 118: | ||
[[wikipedia:de:Kategorie:Leuchtturm_in_Europa|Kategorie:Leuchtturm_in_Europa]] wird 298 mal verwendet. | [[wikipedia:de:Kategorie:Leuchtturm_in_Europa|Kategorie:Leuchtturm_in_Europa]] wird 298 mal verwendet. | ||
=== Wikidata === | |||
{| class="wikitable" | |||
! Query || Zahl || Bemerkungen | |||
|- | |||
| [http://tools.wmflabs.org/wikidata-todo/autolist.html?q=CLAIM[31%3A39715] Leuchttürme] | |||
| 1687 || | |||
|} | |||
=== Commons === | === Commons === | ||
| Zeile 125: | Zeile 133: | ||
* [[commons:Category:Lighthouses|Category:Lighthouses]] | * [[commons:Category:Lighthouses|Category:Lighthouses]] | ||
* 125 [[commons:Category:Lighthouses_by_country|Category:Lighthouses_by_coutry]] | * 125 [[commons:Category:Lighthouses_by_country|Category:Lighthouses_by_coutry]] | ||
== Beispiel == | |||
; Roter Sand | |||
: [http://map.openseamap.org/?zoom=13&mlat=53.85557&mlon=8.08198&mtext=Roter%20Sand&layers=BFTFFFTFFTT0FFFFFTFF OpenSeaMap] | |||
: Wikipedia: https://de.wikipedia.org/wiki/Roter_Sand | |||
: Commons: https://commons.wikimedia.org/wiki/Category:Leuchtturm_Roter_Sand | |||
: Wikidata: https://www.wikidata.org/wiki/Q220034 | |||
: Resonator: http://tools.wmflabs.org/reasonator/?q=Q220034 | |||
: OSM-DB: https://www.openstreetmap.org/node/635484478 | |||
; Alte Weser | |||
: [http://map.openseamap.org/?zoom=14&mlat=53.86412&mlon=8.12756&mtext=Alte%20Weser&layers=BTTFFFTFFTT0FFFFFTFF OpenSeaMap] | |||
: Wikipedia: https://de.wikipedia.org/wiki/Alte_Weser | |||
: Commons: https://commons.wikimedia.org/wiki/Category:Leuchtturm_Roter_Sand | |||
: Wikidata: https://www.wikidata.org/wiki/Q436392 | |||
: Resonator: http://tools.wmflabs.org/reasonator/?q=Q436392 | |||
: OSM-DB: https://www.openstreetmap.org/node/538969144 | |||
== ToDo == | == ToDo == | ||
| Zeile 149: | Zeile 174: | ||
=== WP-Link in OSM === | === WP-Link in OSM === | ||
In WP vorhandene Leuchtfeuer sind als WP-Link in OSM einzutragen. | In WP vorhandene Leuchtfeuer sind als WP-Link in OSM einzutragen. | ||
=== Tools === | === Tools === | ||
Tool/GUI schaffen, um in OSM den WP-Link zu suchen und einzutragen. | Tool/GUI schaffen, um in OSM den WP-Link zu suchen und einzutragen. | ||
Tool, um alle OSM-lights in WD einzutragen. | Tool, um alle OSM-lights in WD einzutragen. <br> | ||
== Attribute-Liste == | == Attribute-Liste == | ||
| Zeile 209: | Zeile 236: | ||
| .. || || || || | | .. || || || || | ||
|} | |} | ||
== Beispiel OSM-Code == | |||
OSM-Code von "Alte Weser": | |||
<pre> | |||
<?xml version='1.0' encoding='UTF-8'?> | |||
<osm version='0.6' upload='true' generator='JOSM'> | |||
<bounds minlat='53.8629884' minlon='8.1265541' maxlat='53.8637962' maxlon='8.1282868' origin='CGImap 0.3.3 (29865 thorn-03.openstreetmap.org)' /> | |||
<node id='538969144' timestamp='2014-04-29T16:56:32Z' uid='449569' user='Nautic' visible='true' version='14' changeset='22026785' lat='53.8634041' lon='8.1275255'> | |||
<tag k='building:height' v='40' /> | |||
<tag k='man_made' v='lighthouse' /> | |||
<tag k='name' v='Leuchtturm Alte Weser' /> | |||
<tag k='ref' v='B 1188' /> | |||
<tag k='seamark:fog_signal:category' v='horn' /> | |||
<tag k='seamark:fog_signal:group' v='AL' /> | |||
<tag k='seamark:fog_signal:period' v='60' /> | |||
<tag k='seamark:information' v='Fog detector light' /> | |||
<tag k='seamark:light:10:character' v='F' /> | |||
<tag k='seamark:light:10:colour' v='white' /> | |||
<tag k='seamark:light:10:radius' v='0.8' /> | |||
<tag k='seamark:light:10:sector_end' v='238' /> | |||
<tag k='seamark:light:10:sector_start' v='196' /> | |||
<tag k='seamark:light:11:character' v='F' /> | |||
<tag k='seamark:light:11:colour' v='white' /> | |||
<tag k='seamark:light:11:radius' v='0.8' /> | |||
<tag k='seamark:light:11:sector_end' v='352' /> | |||
<tag k='seamark:light:11:sector_start' v='288' /> | |||
<tag k='seamark:light:12:character' v='F' /> | |||
<tag k='seamark:light:12:colour' v='red' /> | |||
<tag k='seamark:light:12:radius' v='0.7' /> | |||
<tag k='seamark:light:12:sector_end' v='3' /> | |||
<tag k='seamark:light:12:sector_start' v='352' /> | |||
<tag k='seamark:light:1:character' v='F' /> | |||
<tag k='seamark:light:1:colour' v='white' /> | |||
<tag k='seamark:light:1:radius' v='0.8' /> | |||
<tag k='seamark:light:1:sector_end' v='17' /> | |||
<tag k='seamark:light:1:sector_start' v='3' /> | |||
<tag k='seamark:light:2:character' v='F' /> | |||
<tag k='seamark:light:2:colour' v='green' /> | |||
<tag k='seamark:light:2:radius' v='0.6' /> | |||
<tag k='seamark:light:2:sector_end' v='45' /> | |||
<tag k='seamark:light:2:sector_start' v='17' /> | |||
<tag k='seamark:light:3:character' v='F' /> | |||
<tag k='seamark:light:3:colour' v='white' /> | |||
<tag k='seamark:light:3:radius' v='0.8' /> | |||
<tag k='seamark:light:3:sector_end' v='74' /> | |||
<tag k='seamark:light:3:sector_start' v='45' /> | |||
<tag k='seamark:light:4:character' v='F' /> | |||
<tag k='seamark:light:4:colour' v='green' /> | |||
<tag k='seamark:light:4:radius' v='0.6' /> | |||
<tag k='seamark:light:4:sector_end' v='118' /> | |||
<tag k='seamark:light:4:sector_start' v='74' /> | |||
<tag k='seamark:light:5:character' v='F' /> | |||
<tag k='seamark:light:5:colour' v='white' /> | |||
<tag k='seamark:light:5:radius' v='0.8' /> | |||
<tag k='seamark:light:5:sector_end' v='123' /> | |||
<tag k='seamark:light:5:sector_start' v='118' /> | |||
<tag k='seamark:light:6:character' v='F' /> | |||
<tag k='seamark:light:6:colour' v='red' /> | |||
<tag k='seamark:light:6:radius' v='0.7' /> | |||
<tag k='seamark:light:6:sector_end' v='140' /> | |||
<tag k='seamark:light:6:sector_start' v='123' /> | |||
<tag k='seamark:light:7:character' v='F' /> | |||
<tag k='seamark:light:7:colour' v='green' /> | |||
<tag k='seamark:light:7:radius' v='0.6' /> | |||
<tag k='seamark:light:7:sector_end' v='175' /> | |||
<tag k='seamark:light:7:sector_start' v='140' /> | |||
<tag k='seamark:light:8:character' v='F' /> | |||
<tag k='seamark:light:8:colour' v='white' /> | |||
<tag k='seamark:light:8:radius' v='0.8' /> | |||
<tag k='seamark:light:8:sector_end' v='183' /> | |||
<tag k='seamark:light:8:sector_start' v='175' /> | |||
<tag k='seamark:light:9:character' v='F' /> | |||
<tag k='seamark:light:9:colour' v='red' /> | |||
<tag k='seamark:light:9:radius' v='0.7' /> | |||
<tag k='seamark:light:9:sector_end' v='196' /> | |||
<tag k='seamark:light:9:sector_start' v='183' /> | |||
<tag k='seamark:name' v='Alte Weser' /> | |||
<tag k='seamark:reference' v='B 1188' /> | |||
<tag k='seamark:type' v='landmark' /> | |||
<tag k='source' v='US NGA Pub. 114. 2011-04-02' /> | |||
<tag k='wikidata' v='Q436392' /> | |||
<tag k='wikipedia' v='de:Alte Weser' /> | |||
</node> | |||
</osm> | |||
</pre> | |||
Version vom 29. April 2014, 19:17 Uhr


Alle Leuchtturm-/Leuchtfeuer-Daten in Wikidata erfassen,
und von dort zusammen mit Artikel-Links und Bildern in OpenSeaMap zeigen.
Ziel
- Leuchtfeuer in Wikidata
- Alle Leuchtturm-/Leuchtfeuer-Daten in Wikidata erfassen.
Die Daten kann man von dort beliebig verwenden:- in allen WP-Artikeln
- in Infoboxen
- in allen Listen in beliebiger Kombination
- sprachübergreifend
- Dann muss man die Daten nur einmal für die ganze Welt erfassen, und kann sie weltweit zentral pflegen.
- Leuchtfeuer in OpenSeaMap
- Alle Leuchtfeuer auf OpenSeaMap zeigen:
- Position als Marker in OpenSeaMap
- Link zu Wikipedia
- Bild aus Commons
- Daten aus OSM/Wikidata
Daten
| Quelle | Anzahl | Link | Bemerkungen |
|---|---|---|---|
| OSM | 40'000 | ||
| Wikipedia:de | 1390 | 1390 Listeneinträge, 430 Artikel | |
| Wikipedia:en | ~1225 | ||
| Wikipedia:es | |||
| Commons | |||
| WP>OSM | 77 | ways|relation&request=Submit&iwl=yes] |
OSM
In OSM gibt es etwa 40'000 Leuchtfeuer:
| tag | Anzahl | Bemerkungen |
|---|---|---|
| seamark:type=light_major | 4557 | [1] |
| seamark:type=light_minor | 32692 | [2] |
| seamark:type=light_vessel | 18 | [3] |
| seamark:type=light_float | 58 | [4] |
Jedes Objekt ist mit Attributen differenziert beschrieben.
Abfrage über Overpass-API: Abfrage-Link
[out:json];
(
node["seamark:type"~"light_float|light_vessel|minor_light|major_light|light"]({{bbox}});>;
way["seamark:type"~"light_float|light_vessel|minor_light|major_light|light"]({{bbox}});>;
);
out;
Wikipedia
Wikipedia:de
In Wikipedia:de gibt es 1390 Listeneinträge und 430 Artikel
in folgenden Listen über Leuchtfeuer:
| Liste | Zahl | Artikel | Bemerkungen |
|---|---|---|---|
| Leuchttürme in Europa | 359 | 204 | |
| Leuchttürme in Europa-Dänemark | 98 | 17 | |
| Leuchttürme in Europa-Norwegen | 155 | 40 | |
| Leuchttürme in Europa-Estland | 45 | 4 | |
| Leuchttürme in Europa-Friesland | 9 | 8 | |
| Leuchttürme in Europa-Spanien | 244 | 7 | |
| Leuchttürme in Europa-England | 72 | 13 | |
| Leuchttürme in Europa-Schottland | 82 | 19 | |
| Leuchttürme in Afrika | 35 | 9 | |
| Leuchttürme in Asien | 18 | 4 | |
| Leuchttürme in Asien-Osttimor | 3 | 0 | in Asien einarbeiten |
| Leuchttürme in Amerika | 52 | 42 | |
| Leuchttürme in Australien | 192 | 30 | |
| Leuchttürme in Neuseeland | 26 | 23 |
Vorlage:Infobox_Leuchtturm wird in 42 Artikeln verwendet.
Kategorie:Leuchtturm_in_Europa wird 298 mal verwendet.
Wikidata
| Query | Zahl | Bemerkungen |
|---|---|---|
| [31%3A39715 Leuchttürme] | 1687 |
Commons

In Commons gibt es ein paar hundert Bilder commons:Lighthouse
und viele Kategorien und Unterkategorien:
Beispiel
- Roter Sand
- OpenSeaMap
- Wikipedia: https://de.wikipedia.org/wiki/Roter_Sand
- Commons: https://commons.wikimedia.org/wiki/Category:Leuchtturm_Roter_Sand
- Wikidata: https://www.wikidata.org/wiki/Q220034
- Resonator: http://tools.wmflabs.org/reasonator/?q=Q220034
- OSM-DB: https://www.openstreetmap.org/node/635484478
- Alte Weser
- OpenSeaMap
- Wikipedia: https://de.wikipedia.org/wiki/Alte_Weser
- Commons: https://commons.wikimedia.org/wiki/Category:Leuchtturm_Roter_Sand
- Wikidata: https://www.wikidata.org/wiki/Q436392
- Resonator: http://tools.wmflabs.org/reasonator/?q=Q436392
- OSM-DB: https://www.openstreetmap.org/node/538969144
ToDo
Konzept
Welche Daten werden in welcher DB als "Master" gehalten?
- OSM
- WD
Wie werden die DBs kongruent gehalten?
Wie ist mit Widersprüchen umzugehen?
Wikidata-Klasse
Für WD muss eine Klasse für Leuchtfeuer erstellt werden.
Diese muss folgende Strukturen abbilden:
- OSM-Klasse "seamark:light"
- Vorlage:Infobox_Leuchtturm
In WP vorhandene Leuchtfeuer sind als Objekte in diese WD-Klasse einzutragen.
In OSM vorhandene Leuchtfeuer sind als Objekte in diese WD-Klasse einzutragen.
WP-Link in OSM
In WP vorhandene Leuchtfeuer sind als WP-Link in OSM einzutragen.
Tools
Tool/GUI schaffen, um in OSM den WP-Link zu suchen und einzutragen.
Tool, um alle OSM-lights in WD einzutragen.
Attribute-Liste
| Schlüssel | Werteliste | Typ | Quelle | Bemerkungen |
|---|---|---|---|---|
| name:lol | * | str | OSM: seamark:name | ASCII |
| ref | a ##### | str | OSM: seamark:light:ref | |
| lat | g,gggggg | real | OSM | - = Süd |
| lon | g,gggggg | real | OSM | + = West |
| hight_of_fire | ###,# | int | OSM: seamark:light:hight | Feuerhöhe |
| hight_of_tower | ###,# | int | OSM: seamark:landmark:hight | Turmhöhe |
| range:w | ## | int | OSM: seamark:light:range | Maximum von w/r/g |
| .. | ||||
Wikidata
Datenstruktur
| Feldname | Typ | Format | Bemerkung | Beispiel |
|---|---|---|---|---|
| ID | inkrementell | |||
| right_ref-nr | String | |||
| position | Coordinate | LAT/LON | ||
| name_lol | String | ASCII | wie in List of Lights | |
| name_local | String | UTF-8 | lokale Sprache und Schrift | |
| wp-link | URL | |||
| commons-Link | URL | |||
| light_hight | Quantity | m,mm | Feuerhöhe ü.M. | |
| .. |
Beispiel OSM-Code
OSM-Code von "Alte Weser":
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' upload='true' generator='JOSM'>
<bounds minlat='53.8629884' minlon='8.1265541' maxlat='53.8637962' maxlon='8.1282868' origin='CGImap 0.3.3 (29865 thorn-03.openstreetmap.org)' />
<node id='538969144' timestamp='2014-04-29T16:56:32Z' uid='449569' user='Nautic' visible='true' version='14' changeset='22026785' lat='53.8634041' lon='8.1275255'>
<tag k='building:height' v='40' />
<tag k='man_made' v='lighthouse' />
<tag k='name' v='Leuchtturm Alte Weser' />
<tag k='ref' v='B 1188' />
<tag k='seamark:fog_signal:category' v='horn' />
<tag k='seamark:fog_signal:group' v='AL' />
<tag k='seamark:fog_signal:period' v='60' />
<tag k='seamark:information' v='Fog detector light' />
<tag k='seamark:light:10:character' v='F' />
<tag k='seamark:light:10:colour' v='white' />
<tag k='seamark:light:10:radius' v='0.8' />
<tag k='seamark:light:10:sector_end' v='238' />
<tag k='seamark:light:10:sector_start' v='196' />
<tag k='seamark:light:11:character' v='F' />
<tag k='seamark:light:11:colour' v='white' />
<tag k='seamark:light:11:radius' v='0.8' />
<tag k='seamark:light:11:sector_end' v='352' />
<tag k='seamark:light:11:sector_start' v='288' />
<tag k='seamark:light:12:character' v='F' />
<tag k='seamark:light:12:colour' v='red' />
<tag k='seamark:light:12:radius' v='0.7' />
<tag k='seamark:light:12:sector_end' v='3' />
<tag k='seamark:light:12:sector_start' v='352' />
<tag k='seamark:light:1:character' v='F' />
<tag k='seamark:light:1:colour' v='white' />
<tag k='seamark:light:1:radius' v='0.8' />
<tag k='seamark:light:1:sector_end' v='17' />
<tag k='seamark:light:1:sector_start' v='3' />
<tag k='seamark:light:2:character' v='F' />
<tag k='seamark:light:2:colour' v='green' />
<tag k='seamark:light:2:radius' v='0.6' />
<tag k='seamark:light:2:sector_end' v='45' />
<tag k='seamark:light:2:sector_start' v='17' />
<tag k='seamark:light:3:character' v='F' />
<tag k='seamark:light:3:colour' v='white' />
<tag k='seamark:light:3:radius' v='0.8' />
<tag k='seamark:light:3:sector_end' v='74' />
<tag k='seamark:light:3:sector_start' v='45' />
<tag k='seamark:light:4:character' v='F' />
<tag k='seamark:light:4:colour' v='green' />
<tag k='seamark:light:4:radius' v='0.6' />
<tag k='seamark:light:4:sector_end' v='118' />
<tag k='seamark:light:4:sector_start' v='74' />
<tag k='seamark:light:5:character' v='F' />
<tag k='seamark:light:5:colour' v='white' />
<tag k='seamark:light:5:radius' v='0.8' />
<tag k='seamark:light:5:sector_end' v='123' />
<tag k='seamark:light:5:sector_start' v='118' />
<tag k='seamark:light:6:character' v='F' />
<tag k='seamark:light:6:colour' v='red' />
<tag k='seamark:light:6:radius' v='0.7' />
<tag k='seamark:light:6:sector_end' v='140' />
<tag k='seamark:light:6:sector_start' v='123' />
<tag k='seamark:light:7:character' v='F' />
<tag k='seamark:light:7:colour' v='green' />
<tag k='seamark:light:7:radius' v='0.6' />
<tag k='seamark:light:7:sector_end' v='175' />
<tag k='seamark:light:7:sector_start' v='140' />
<tag k='seamark:light:8:character' v='F' />
<tag k='seamark:light:8:colour' v='white' />
<tag k='seamark:light:8:radius' v='0.8' />
<tag k='seamark:light:8:sector_end' v='183' />
<tag k='seamark:light:8:sector_start' v='175' />
<tag k='seamark:light:9:character' v='F' />
<tag k='seamark:light:9:colour' v='red' />
<tag k='seamark:light:9:radius' v='0.7' />
<tag k='seamark:light:9:sector_end' v='196' />
<tag k='seamark:light:9:sector_start' v='183' />
<tag k='seamark:name' v='Alte Weser' />
<tag k='seamark:reference' v='B 1188' />
<tag k='seamark:type' v='landmark' />
<tag k='source' v='US NGA Pub. 114. 2011-04-02' />
<tag k='wikidata' v='Q436392' />
<tag k='wikipedia' v='de:Alte Weser' />
</node>
</osm>