Permalink
Browse files

Add WMTS demo

  • Loading branch information...
1 parent 2b01c6f commit 9208462d9642d30206948a16882d857424bd0c28 @twpayne twpayne committed Mar 19, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 tiles/medford_buildings.py
View
@@ -0,0 +1,10 @@
+from tilecloud.store.wmts import WMTSTileStore
+
+
+tile_store = WMTSTileStore(
+ url='http://v2.suite.opengeo.org/geoserver/gwc/service/wmts/',
+ layer='medford:buildings',
+ style='_null',
+ format='image/png',
+ tile_matrix_set='EPSG:900913',
+ tile_matrix=lambda z: 'EPSG:900913:%d' % (z,))

0 comments on commit 9208462

Please sign in to comment.