tilestache-compose | index

Modules

``

ModestMaps |  |  |

Classes

``

ModestMaps.Providers.IMapProvider
  Provider
exceptions.Exception(exceptions.BaseException)
  BadComposure

class BadComposure(exceptions.Exception)

``

Method resolution order:
  BadComposure
  exceptions.Exception
  exceptions.BaseException
  __builtin__.object

Data descriptors defined here:

__weakref__
  `list of weak references to the object (if defined)`

Methods inherited from exceptions.Exception:

__init__(...)
  `x.__init__(...) initializes x; see x.__class__.__doc__ for signature`

Data and other attributes inherited from exceptions.Exception:

__new__ = <built-in method __new__ of type object at 0x100119f80>
  `T.__new__(S, ...) -> a new object with type S, a subtype of T`

Methods inherited from exceptions.BaseException:

__delattr__(...)
  `x.__delattr__('name') <==> del x.name`

__getattribute__(...)
  `x.__getattribute__('name') <==> x.name`

__getitem__(...)
  `x.__getitem__(y) <==> x[y]`

__getslice__(...)
  `x.__getslice__(i, j) <==> x[i:j]
  Use of negative indices is not supported.`

__reduce__(...)

__repr__(...)
  `x.__repr__() <==> repr(x)`

__setattr__(...)
  `x.__setattr__('name', value) <==> x.name = value`

__setstate__(...)

__str__(...)
  `x.__str__() <==> str(x)`

__unicode__(...)

Data descriptors inherited from exceptions.BaseException:

__dict__

args

message

class Provider(ModestMaps.Providers.IMapProvider)
`` | `Wrapper for TileStache Layer objects that makes them behave like ModestMaps Provider objects. Requires ModestMaps 1.3.0 or better to support "file://" URLs.`

Methods defined here:

__del__(self)
  `Delete any tile that was saved in getTileUrls().`

__init__(self, layer, verbose=False, ignore_cached=None)

getTileUrls(self, coord)
  `Return tile URLs that start with file://, by first retrieving them.`

tileHeight(self)

tileWidth(self)

Methods inherited from ModestMaps.Providers.IMapProvider:

coordinateLocation(self, location)

locationCoordinate(self, location)

sourceCoordinate(self, coordinate)

Functions

``

allocate_lock(...)
  `allocate_lock() -> lock object
  (allocate() is an obsolete synonym)
  Create a new lock object. See LockType.__doc__ for information about locks.`

close(...)
  `close(fd)
  Close a file descriptor (for low level IO).`

printlocked(lock, *stuff)

unlink(...)
  `unlink(path)
  Remove a file (same as remove(path)).`

write(...)
  `write(fd, string) -> byteswritten
  Write a string to a file descriptor.`

Data

``

defaults = {'center': (37.804400000000001, -122.27119999999999), 'dimensions': (900, 600), 'verbose': True, 'zoom': 14}
mmaps_version = (1, 4, 0)
parser = <optparse.OptionParser instance at 0x10060ae60>
path = ['.', '/System/Library/Frameworks/Python.framework/Versions/2.6/bin', '/Library/Frameworks/SQLite3.framework/Versions/3/Python/2.6', '/Library/Frameworks/GDAL.framework/Versions/1.8/Python/2.6/site-packages', '/Library/Python/2.6/site-packages/ModestMaps', '/Library/Python/2.6/site-packages/numpy-1.5.1-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/BlobDetector-1.0.0-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/bson-0.3.2-py2.6.egg', '/Library/Python/2.6/site-packages/pytz-2011d-py2.6.egg', '/Library/Python/2.6/site-packages/boto-1.9b-py2.6.egg', '/Library/Python/2.6/site-packages/PyAMF-0.6.1-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/pystache-0.3.1-py2.6.egg', '/Library/Python/2.6/site-packages/chardet-1.0.1-py2.6.egg', '/Library/Python/2.6/site-packages/pyproj-1.8.9-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/OAM-0.1-py2.6.egg', '/Library/Python/2.6/site-packages/encutils-0.9-py2.6.egg', '/Library/Python/2.6/site-packages/cssutils-0.9.8a1-py2.6.egg', '/Library/Python/2.6/site-packages/Werkzeug-0.6.2-py2.6.egg', '/Library/Python/2.6/site-packages/Shapely-1.2.10-py2.6.egg', '/Library/Python/2.6/site-packages/python_twitter-0.8.2-py2.6.egg', ...]
stderr = <open file '<stderr>', mode 'w' at 0x100416140>