Quick TopoJSON vector tile demo map, derived from an earlier GeoJSON demo. Original README follows.
A goofy slippy map of various vector tile data sources. With some fun colours, greetz to Aaron and Mike and Mike and the whole Prettymaps crew.
>>> import arcpy | |
Runtime error | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\__init__.py", line 24, in <module> | |
from arcpy.toolbox import * | |
File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\toolbox.py", line 342, in <module> | |
from management import Graph, GraphTemplate | |
File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\management.py", line 22, in <module> | |
import _management |
"osm-processed_p1": { // Layer Name | |
// Sets ACCESS-CONTROL-ALLOW-ORIGIN header to "*" | |
"allowed origin": "*", | |
"provider": { | |
"class": "TileStache.Goodies.VecTiles:Provider", | |
// PostGIS Connection Info | |
"kwargs": { | |
"dbinfo": { | |
"host": "localhost", | |
"user": "matt", |
Quick TopoJSON vector tile demo map, derived from an earlier GeoJSON demo. Original README follows.
A goofy slippy map of various vector tile data sources. With some fun colours, greetz to Aaron and Mike and Mike and the whole Prettymaps crew.
Python 2.7.6 (default, Dec 7 2013, 21:06:22) | |
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> class MyClass(object): | |
... def __init__(self): | |
... self.foo = "foo" | |
... | |
>>> m = MyClass() | |
>>> m.foo | |
'foo' |
__author__ = 'matt' | |
__date__ = '1/27/14' | |
""" | |
Create an example Reader class that implements a context manager and __iter__ method. | |
Use this Reader class in a with statement in conjunction with a Writer class. | |
Processing classes are examples of class-based decorator patterns. These operate | |
on the Writer class' public interface, the write() method. |