Advertisement
Guest User

tilestache config

a guest
May 27th, 2014
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.56 KB | None | 0 0
  1. >>> print layer.__dict__
  2. {
  3. 'dim': 256,
  4. 'redirects': {},
  5. 'allowed_origin': '*',
  6. 'projection': {
  7.     'zoom': 0,
  8.     'transformation': <ModestMaps.Geo.Transformation instance at 0x7f86875c6b00>
  9. }
  10. 'bitmap_palette': None,
  11. 'preview_lat': 37.8,
  12. 'metatile': {
  13.     'buffer': 0,
  14.     'rows': 1,
  15.     'columns': 1
  16. }
  17.  
  18. 'max_cache_age': None,
  19. 'bounds': None,
  20. 'stale_lock_timeout': 15,
  21. 'jpeg_options': {},
  22. 'preview_ext': 'png',
  23. 'cache_lifespan': None,
  24. 'provider': {
  25.     'layer': <TileStache.Core.Layer instance at 0x7f86875c6a70>,
  26.     'verbose': False,
  27.     'parameters': {
  28.         'column': 'wkb_geometry',
  29.         'dbname': 'urbanfootprint',
  30.         'host': 'localhost',
  31.         'user': 'calthorpe',
  32.         'query': 'SELECT "sandag__sandag"."base_parcel_feature"."wkb_geometry" FROM "sandag__sandag"."base_parcel_featurerel" INNER JOIN "sandag__sandag__sandag_base"."lsf18" ON ("sandag__sandag"."base_parcel_featurerel"."baseparcelfeature22_ptr_id" = "sandag__sandag__sandag_base"."lsf18"."feature_id") INNER JOIN "sandag__sandag"."base_parcel_feature" ON ("sandag__sandag"."base_parcel_featurerel"."baseparcelfeature22_ptr_id" = "sandag__sandag"."base_parcel_feature"."id") WHERE "sandag__sandag__sandag_base"."lsf18"."layer_selection_id" = 1 ',
  33.         'password': 'XXXXX',
  34.         'port': 5432},
  35.     'spacing': None,
  36.     'id_property': None,
  37.     'driver': 'postgis',
  38.     'projected': False,
  39.     'precision': 6,
  40.     'clipped': False,
  41.     'properties': None}
  42.    
  43. 'png_options': {},
  44. 'config': <TileStache.Config.Configuration instance at 0x7f86871c43f8>,
  45. 'preview_lon': -122.26,
  46. 'preview_zoom': 10,
  47. 'write_cache': False
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement