OpenStreetMap has always been about mapping physical and observable
features in the world.
Never about legal rules applying to a country. And even though speed limits
to roads are determined by the country, they are specifically bound to
"highway", not a general rule for "everything" in that country.
Unless this is added to OSM, like Xavier is already mentioning, Osmand
cannot get it out of OSM. OSM would require some extension on admin_level=2
for country borders.

However, it would be extremely simple to make OsmAnd "vignette" aware
without even touching OSM or requiring a change in OSM.
OsmAnd does constant GPS requests during use and navigation. Based on the
GPS position, OsmAnd gets the info from the underlying map in which country
it is.
Osmand could very easily use a json file, a separate one or from its
internal assets, to read if it is in a "vignette" country and add the
routing restrictions for it.
The json would simply be something like:
{
  "AT": { "vignette_required": true },
  "CH": { "vignette_required": true },
  "CZ": { "vignette_required": true },
  "DE": { "vignette_required": false }
< .... snip .... >
  "NL":  { "vignette_required": false }
< .... snip .... >
}

"Someone" should bring this to the developers, if it is that important to
that "someone". ;)

Harry

Op zo 29 mrt 2026 om 21:08 schreef Greg Troxel <[email protected]>:

> "'Xavier' via OsmAnd" <[email protected]> writes:
>
> > While I would agree, OSMAnd can only request OpenStreetMap add the
> > data if it is missing.  And a quick search of the OpenStreetMap wiki
> > shows only sporadic occurrences of the word vignette, none of which
> > appear to be related to storing "vignette" information in the actual
> > map.  So the OpenStreetMap community would need to add the data before
> > it would be available from the OSM dataset.
>
> True, but we are really one large community, even though individuals
> have stronger focus in various sub-parts.
>
> --
> You received this message because you are subscribed to the Google Groups
> "OsmAnd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/osmand/rmijyuuzc5d.fsf%40s1.lexort.com.
>

-- 
You received this message because you are subscribed to the Google Groups 
"OsmAnd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/osmand/CAGARPpt-gDA9JZ_M1a5YppbY%2BFEiOZLjH%2Bth5034vNTOx219rQ%40mail.gmail.com.

Reply via email to