Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMTiles "RuntimeError: Non increasing tile_id" When Reading #9288

Closed
youngpm opened this issue Feb 23, 2024 · 1 comment
Closed

PMTiles "RuntimeError: Non increasing tile_id" When Reading #9288

youngpm opened this issue Feb 23, 2024 · 1 comment
Assignees

Comments

@youngpm
Copy link

youngpm commented Feb 23, 2024

subset7.pmtiles.zip

Expected behavior and actual behavior.

I have a pmtiles file (attached to issue) that returns a RuntimeError: Non increasing tile_id when I attempt to read out of it. The pmtiles verify CLI tool says its okay, and I don't have a problem extracting the MVTs directly from it with pmtiles tile e.g. this works just great:

go-pmtiles tile subset7.pmtiles 0 0 0 | ogrinfo /vsistdin/ landcover

Steps to reproduce the problem.

Unzipping the attached zip and running

ogr2ogr test.geojson subset7.pmtiles landcover

will report

RROR 1: Non increasing tile_id
ERROR 1: Non increasing tile_id
ERROR 1: Terminating translation prematurely after failed
translation of layer landcover (use -skipfailures to skip errors)

Operating system

MacOS, Sonoma 14.3
Also fails using ghcr.io/osgeo/gdal:ubuntu-full-3.8.4

GDAL version and provenance

3.8.4 (fails using ghcr.io/osgeo/gdal:ubuntu-full-3.8.4)

@rouault rouault self-assigned this Feb 23, 2024
@rouault
Copy link
Member

rouault commented Feb 23, 2024

fix in #9289

rouault added a commit that referenced this issue Feb 26, 2024
PMTiles: fix 'Non increasing tile_id' error when opening some files (fixes #9288)
rouault added a commit that referenced this issue Feb 26, 2024
[Backport release/3.8] PMTiles: fix 'Non increasing tile_id' error when opening some files (fixes #9288)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants