Update README.md

elements with attribute seamark:light:1:sequence are now supported
pull/20/head
niekvanruler 2022-02-01 14:21:10 +01:00 zatwierdzone przez GitHub
rodzic 3379b24a2a
commit f0ceb682ea
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -3,7 +3,7 @@ This map shows all the blinking beacons from [OpenStreetMap](https://www.openstr
![Demo time](https://geodienst.github.io/lighthousemap/demo.gif) ![Demo time](https://geodienst.github.io/lighthousemap/demo.gif)
More specifically, it asks the [Overpass API](https://www.overpass-api.de) for all elements with an `seamark:light:sequence` attribute, decodes these, and displays them as coloured circles on the map using [Leaflet](https://leafletjs.com). It also tries to take the `seamark:light:range` and `seamark:light:colour` into account. More specifically, it asks the [Overpass API](https://www.overpass-api.de) for all elements with an `seamark:light:sequence` or `seamark:light:1:sequence` attribute, decodes these, and displays them as coloured circles on the map using [Leaflet](https://leafletjs.com). It also tries to take the `seamark:light:range` and `seamark:light:colour` into account.
## Overpass API ## Overpass API
The current version uses an extracted dataset, but the code allows for directly querying the Overpass API. However, since a query like the one used here can take multiple minutes to complete it is not very useful do always do live queries. The current version uses an extracted dataset, but the code allows for directly querying the Overpass API. However, since a query like the one used here can take multiple minutes to complete it is not very useful do always do live queries.