![]() |
|
openseamaps-mbtiles/2017/ostsee.mbtiles Download funktioniert nicht - Printable Version +- RouteConverter Forum (https://forum.routeconverter.com) +-- Forum: Users (https://forum.routeconverter.com/forum-17.html) +--- Forum: Deutsch: Diskussionen (https://forum.routeconverter.com/forum-4.html) +--- Thread: openseamaps-mbtiles/2017/ostsee.mbtiles Download funktioniert nicht (/thread-4103.html) |
openseamaps-mbtiles/2017/ostsee.mbtiles Download funktioniert nicht - IlmariKrebs - 23.03.2026 Das Format von openseamaps-mbtiles/2017/ostsee.mbtiles scheint unvollständig zu sein. Die Tabelle metadata ist leer in der Datei, die routeconverter herunterlädt. Wenn man diese Tabelle manuell füllt. Erhält man ein funktionstüchtiges Overlay. Eventuell diese Datei nicht mehr zum Download anbieten oder durch eine neuere ersetzen. Viele Grüße, Ilmari ############################################################################################## Ich habe versucht die openseamaps-mbtiles Ostsee herunterzuladen. Am Ende des Downloads kommt eine Fehlermeldung. Der Eintrag ist aber dennoch vorhanden und wenn man versucht diese auszuwählen erhalte ich diese Fehlermeldung + Copilot Erklärungsversuch Cannot display map 'openseamaps-mbtiles/2017/ostsee.mbtiles': java.lang.IllegalArgumentException: 'metadata.format' field was not found. ... die ostsee.mbtiles Datenbank enthält eine metadata Tabelle die ist aber leer. Here’s what that error message means, broken down clearly and specific to RouteConverter and MBTiles. What the message says (verbatim) Quote:Cannot display map Plain‑English explanation RouteConverter did open the Code: .mbtiles➡️ The file does NOT contain a required MBTiles metadata entry called Code: formatBecause of that, RouteConverter refuses to treat it as a valid MBTiles map and cannot render it. In short: Quote:The file is either not a valid MBTiles file, or it is an incomplete / non‑standard MBTiles database. Why this happens (important) MBTiles is not just “tiles in a SQLite file”. It must contain a table called Code: metadataRouteConverter (via Mapsforge/MBTiles reader) expects at least:
Code: metadata.formatCode: IllegalArgumentException: 'metadata.format' field was not foundVery common causes 1️⃣ File is not actually MBTiles Some files:
2️⃣ File was generated incorrectly Some tile exporters (especially older OpenSeaMap / OSM tools) omit Code: metadata.formatRouteConverter does not. [forum.rout...verter.com] 3️⃣ File is corrupted or incomplete If the Code: .mbtiles
How to verify (quick check) If you open the file with any SQLite viewer and run: SELECT * FROM metadata; You should see a row like: Code: name | format | pngCode: formatWhat will NOT fix it
Practical solutions ✅ Best solution Re‑create the MBTiles file using a tool that writes standards‑compliant MBTiles, e.g.:
✅ Quick workaround (advanced) If the file does contain tiles, you can manually add the missing metadata: INSERT INTO metadata (name, value) VALUES ('format', 'png'); `` (or Code: jpg⚠️ Only do this if you know the tile image format. ✅ RouteConverter‑native alternative RouteConverter works best with:
Summary (one‑liner) Quote:RouteConverter cannot display your map because theIf you want, you can tell me:
|