qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.04k stars 2.92k forks source link

could not open mvt file in macos #54717

Open sendreams opened 9 months ago

sendreams commented 9 months ago

What is the bug or the crash?

when i drag a mvt file to the mapwindow, show error information: Invalid Data Source: /Users/chenhong/gis/tile/vector/mapbox/15-16592-11271.pbf is not a valid or recognized data source.

but the same version qgis in windows is ok.

Steps to reproduce the issue

open qgis drag a mvt file into mapwindow show error information

Versions

QGIS version 3.32.3-Lima QGIS code revision 67d46100b5b
Qt version 5.15.2
Python version 3.9.5
GDAL/OGR version 3.3.2
PROJ version 8.1.1
EPSG Registry database version v10.028 (2021-07-07)
GEOS version 3.9.1-CAPI-1.14.2
SQLite version 3.35.2
PDAL version 2.3.0
PostgreSQL client version unknown
SpatiaLite version 5.0.1
QWT version 6.1.6
QScintilla2 version 2.11.5
OS version macOS 13.6
       

Active Python plugins vector_tiles_reader | 3.2.2 processing | 2.12.99 grassprovider | 2.12.99 db_manager | 0.1.20 MetaSearch | 0.3.6

3.32.3-Lima QGIS code revision 67d46100b5b Qt version 5.15.2 Python version 3.9.5 GDAL/OGR version 3.3.2 PROJ version 8.1.1 EPSG Registry database version v10.028 (2021-07-07) GEOS version 3.9.1-CAPI-1.14.2 SQLite version 3.35.2 PDAL version 2.3.0 PostgreSQL client version unknown SpatiaLite version 5.0.1 QWT version 6.1.6 QScintilla2 version 2.11.5 OS version macOS 13.6

Active Python plugins vector_tiles_reader 3.2.2 processing 2.12.99 grassprovider 2.12.99 db_manager 0.1.20 MetaSearch 0.3.6

Supported QGIS version

New profile

Additional context

qgis-error-mvt qgis-error-mvt-win

the sample mvt tile can be download by this link: curl --request GET --url 'https://api.mapbox.com/v4/mapbox.mapbox-models-v1/15/16591/11270.vector.pbf?sku=101xe2aWG6Bmo&access_token=pk.eyJ1IjoibWFwYm94LW1hcC1kZXNpZ24iLCJhIjoiY2xrc2pzc2VuMDFybTNlcXQwOG9ieXFxeSJ9.tFV8YJxUOkHxcaZ70BQiUg' --header 'Referer: https://labs.mapbox.com/' \

sendreams commented 9 months ago

3.30.3 show the same error, so i update the qgis to 3.32.3, not working.

StefanBrand commented 1 month ago

Edit: Also cannot open with GDAL / ogrinfo. I think that my file is malformed.

Same problem with QGIS 3.34 on Ubuntu

QGIS version 3.34.6-Prizren QGIS code revision 623828f58c2
Qt version 5.15.3
Python version 3.10.12
GDAL/OGR version 3.4.1
PROJ version 8.2.1
EPSG Registry database version v10.098 (2023-11-24)
Compiled against GEOS 3.10.2-CAPI-1.16.0 Running against GEOS 3.12.1-CAPI-1.18.1
SQLite version 3.37.2
Compiled against PDAL 2.3.0 Running against PDAL 2.5.0
PostgreSQL client version 14.11 (Ubuntu 14.11-0ubuntu0.22.04.1)
SpatiaLite version 5.0.1
QWT version 6.1.4
QScintilla2 version 2.11.6
OS version Ubuntu 22.04.4 LTS
       

Active Python plugins shapetools | 3.4.11 tiss | 2.0.2 valuetool | 3.0.15 zoom_level | 0.1 QuickWKT | 3.1 processing | 2.12.99 db_manager | 0.1.20