Last active
August 17, 2017 12:49
-
-
Save talaj/6e34e34cb7db84556b5a5dfbac1cec48 to your computer and use it in GitHub Desktop.
python async mvt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import mapnik | |
m=mapnik.Map(256,256) | |
mapnik.load_map(m, 'style.xml') | |
t = mapnik.create_mvt_merc(m, 75528, 47928, 17, style_level_filter=True, threading_mode=mapnik.threading_mode.async) | |
m.layers[-1].datasource.params()['max_size'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment