Osmproxy
OpenStreetMap tile proxy for REDAXO
Install / Use
/learn @FriendsOfREDAXO/OsmproxyREADME
OSM proxy
This Addon delivers an OpenStreetMap tile proxy for REDAXO cms
Ensures the GDPR compliant use of OpenStreetmap tiles
The tile-cache will be stored inside the osmproxy cache folder /redaxo/cache/addons/osmproxy/.
Features:
- delivers carto tiles
- delivers german tiles from openstreetmap.de (type=default)
- or default tiles from openstreetmap.org (type=default)
- stored files will be deleted afer 24 hours
- does not accept direct calls of tiles from external sites
Types:
- default (openstreetmap.org)
- german (openstreetmap.de)
- wikipedia
- carto
- carto_light
- carto_dark
Please make sure to show the proper copyright attribution on the map, if needed. e.g.:
<a href="https://carto.com/attribution">CARTO</a>` for CARTO maps and `<a href="https://wikimediafoundation.org/wiki/Maps_Terms_of_Use">Wikimedia maps</a>` for wikimedia.
Usage:
/?osmtype=default&z=16&x=33973&y=21807
or when using RewriteRule
/osmtype/german/16/33973/21807.png
RewriteRule for Apache .htaccess
RewriteRule ^osmtype/([^/]*)/([^/]*)/([^/]*)/([^/]*)\.png$ /?osmtype=$1&z=$2&x=$3&y=$4 [L]
nginx
rewrite ^/osmtype/([^/]*)/([^/]*)/([^/]*)/([^/]*)\.png$ /?osmtype=$1&z=$2&x=$3&y=$4 last;
How to use it in leaflet?
Example with RewriteRule
var tiles = L.tileLayer('/osmtype/german/{z}/{x}/{y}.png', {
Credits
Projekt-Lead
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
