Add a QGIS plugin for conversion from MBTiles --> PMTiles #600
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rationale
Why do we need this?
go-pmtiles, sure.State of PMTiles in QGIS
Explained in the README.md, but I will the content below:
raster PMTile files.
pmtilesPython package inside the plugin.Testing ogr2ogr & GDAL
Options available
This PR
Includes a small QGIS plugin for conversion from MBTiles --> PMTiles.
Functionality could be expanded in future, but this is a first PoC:
This repo seemed like a logical place to house this code, but let me know if it should just go in a separate repo.
I plan to publish the plugin on the QGIS plugin repository.https://plugins.qgis.org/plugins/PMTiles/Any feedback welcomed! 😄
Note I ended up making PR #599 in the process of writing this plugin. As an MBTiles file a user had given me did not have the
centermetadata.Note 2: maybe I got a bit ahead of myself putting this in the PMTiles repo, with the protomaps logo on the plugin. Sorry if that causes any issues! I'm very happy to cede ownership of the plugin and any references to myself to Protomaps, or publish this elsewhere under my name instead. Let me know what works best!
Note 3: final note to say, I full expect this plugin will be dropped and no longer maintained once PMTiles support is improved in GDAL (raster) and QGIS (read / write), to allow conversion from MBTiles --> PMTiles directly in QGIS.