Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for allowed 15 km zone when German localization is active #357

Merged
merged 1 commit into from
Jan 10, 2021

Conversation

mjaschen
Copy link
Contributor

@mjaschen mjaschen commented Jan 6, 2021

Germany is about to restrict movement to a 15 km radius around the home town. This commit enables the "allowed zone" icon for the German localization of BRouter-Web and sets it to a radius of 15,000 meters.

@nrenner
Copy link
Owner

nrenner commented Jan 6, 2021

Thanks, I also thought about adopting this for German users.

But to me it is not clear yet, whether the allowed zone is a radius around the home address point or town center point or rather a buffer around the town border where the 15 km would start outside the town:

Die Bundesregierung hat „Wohnort“ in ihrem Beschluss nicht näher definiert und damit Spielraum gegeben, ob damit die Adresse oder die Stadt gemeint ist. Auf Nachfrage sagte Kanzlerin Angela Merkel jedoch in der anschließenden Pressekonferenz am Dienstag (05.01.2021), dass damit etwa die Stadt gemeint sei, was den Radius besonders für Menschen in größeren Städten erheblich erweitern würde.

https://www.fr.de/panorama/corona-lockdown-15-kilometer-radius-ausnahmen-deutschland-coronavirus-covid19-bewegungseinschraenkungen-90160053.html

@nrenner
Copy link
Owner

nrenner commented Jan 6, 2021

@bueltge
Copy link

bueltge commented Jan 7, 2021

@mjaschen The simple circle of 15km radius is not the right way, because it is in depend on the Landkreis. Maybe this post is helpful to get a more exactly function - https://www.zeit.de/wissen/gesundheit/2021-01/corona-massnahmen-bewegungsradius-gemeinde-grenze-karte-tool

@nrenner
Copy link
Owner

nrenner commented Jan 7, 2021

The Zeit tool uses administrative boundaries, e.g. for Friedrichshafen (but from the BKG not OSM), which includes the whole countryside and other villages belonging to it.

But I personally would interpret "Wohnort" as only the settled area itself, like 15 km from the city limit sign on. E.g. for Appenweiler I would expect the radius/buffer to be around the residential area of that village. Unfortunately there is no direct definition of such a place area in OSM.

I think we'll have to wait until the first implementation in a state order with a clear definition.

@nrenner
Copy link
Owner

nrenner commented Jan 8, 2021

I started collecting information in the wiki page [de] Corona Bewegungseinschränkung 15 km (feel free to edit).

So far it seems each state has its own term and definition.

@nrenner
Copy link
Owner

nrenner commented Jan 10, 2021

I made a summary of what I have found so far.

Number of states implement the 15 km rule as from:

  • 4 address
  • 4 municipality boundary
  • 1 district boundary
  • 7 don't implement or leave it to the districts

@nrenner nrenner merged commit 5df0765 into nrenner:master Jan 10, 2021
@nrenner nrenner added this to the 0.15.0 milestone Jan 15, 2021
stefankeidel added a commit to cxberlin/brouter-web that referenced this pull request Jan 24, 2021
* upstream/master: (55 commits)
  Update locatecontrol
  Add countries mask as hint where ringgo applies
  Determine country rules by enclosing boundary
  Use TopoJSON for smaller files
  Fix typo
  release: 0.15.0
  Update CHANGELOG.md
  Update translations
  Determine allowed zone from admin boundaries (nrenner#359)
  add support for allowed 15 km zone when German localization is active (nrenner#357)
  Update translations
  Update Heightgraph to fix display for 0
  Use Heightgraph fork until merged, remove patch
  Move the GeoJSON building functionality into separate module, and reference it
  Bump ini from 1.3.5 to 1.3.7 (nrenner#355)
  Upgrade eslint
  Update husky
  Update promise-polyfill
  Update npmfiles
  Update i18next
  ...
@mjaschen mjaschen deleted the feature/de-15-km-radius branch February 13, 2021 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants