Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

mbtiles vs. geopackage EPSG 3857 north must be in [-85.05112877980658,85.05112877980658] #1806

@TFreudi1

Description

@TFreudi1

OsmDroid 6.1.2, Geopackage 6.1.3.
I have a simple mbtiles map which loaded fine in Osmdroid, when I converted it to a geopackage and try to load that , I get an error about the bounding box:
north must be in [-85.05112877980658,85.05112877980658]
which is clear because the max-bounding box in all EPSG 3857 files is -20037508.3427892,-20037508.3427892,20037508.3427892,
20037508.3427892. I can patch the table gpkg_tile_matrix_set from the correct EPSG 3857 bounding to -180,-85,180,85 than I don't have the error, but I never see a map. Here is a sample file from the geopackage web site:
river.zip

So the problem is that I can't use any raster map with EPSG 3857 in a geopackage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions