For the first time I’m encountering a 418 error in my development environment for OpenStreetMap tile layers. This isn’t happening on a production server, just local, so it makes sense that I might be making too many requests with frequent reloads to a page, but still wanted to note this & my findings…
This question was recently asked here (12 hours ago) on the openstreet map forum: Tile layer 418 error. - OSM Help
This comment in the thread is a little concerning:
The standard OSM tiles servers are meant for mappers. The policy used to be lightly enforced, but now it is more strictly enforced.
The thread also references the OSM tile usage policy:
OpenStreetMap data is free for everyone to use. Our tile servers are not.
(Requirement #1): Heavy use (e.g. distributing an app that uses tiles from openstreetmap.org) is forbidden without prior permission from the Operations Working Group. See below for alternatives.
My understanding is that we inherit a lot of this functionality (most specifically the tile.openstreetmap.org
URL) in farmOS-map from OpenLayers. Perhaps we should consider making the OSM URL configurable in farmOS-map? That would make it easier for someone to host their own OSM tile server and swap the URL into farmOS without any additional work.