TPK2GPKG
No description available
Install / Use
/learn @spatialillusions/TPK2GPKGREADME
TPK2GPKG
Takes either an Esri TPKX or VTPK file and converts it into Geopackage. To make it complicated Esri also has a format called TPK, but this is not supported. For VTPK the MVT extension for Geopackage is used, but if your VTPK is in google maps compatable tiles, you should be able to change the filename of the generated file to mbtiles and it should work in QGIS/GDAL.
I'm not a python programmer, so the code is far from perfect, but it works.
Some information needed for tiling schemes / vector tiles, in Geopackage is not available in the Esri files, but the code makes due with what is available.
Usage
You should be able to run:
python .\TPK2GPKG.py filename
Or just run the python script and it will ask for the file to convert.
Output is saved as ORIGINALNAME.ORIGINALEXTENSION.GPKG
License
BSD-2-Clause License
Buy me beer, host my website, or other gifts if you like it.
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
