Skip to content

Decoding and rendering MBTiles files using Python

Notifications You must be signed in to change notification settings

mryndzionek/MBTilesPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decoding and rendering MBTiles files using Python

Python scripts for experimenting with MBTiles files. Mostly to see how complex rendering is and how feasible it would be to implement this on a embedded processor.

In the below images zoom levels 1-14 are supported by the MBTiles file. Zoom levels 15-18 done just by scaling the vector image.

gdansk_gif

gdansk_z12 gdansk_z14

oliwa_gif

oliwa_z12 oliwa_z14

TODO

  • the way the polygons are encoded (link) makes them slow to draw in PIL (drawing on separete canvas and pasting)
  • there is no 'smart' detection of objects out of frame, so drawing with big tile sizes is slow

About

Decoding and rendering MBTiles files using Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages