| Home | Trees | Indices | Help |
|---|
|
|
|
|||
| RasterDataset | |||
| ZonalCategory | |||
| ZonalStatsCache | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
logger = get_logger()
|
|||
RASTDIR = os.path.join(os.path.dirname(__file__), 'test_data')
|
|||
RASTER_TYPES = "continuous", "continuous", ("categorical", "ca
|
|||
STARSPAN_BIN = settings.STARSPAN_BIN
|
|||
|
|||
Consider this a 'private' method .. dont call directly, use zonal_stats() instead Runs starspan and returns a ZonalStatsCache object |
Given a GEOSGeometry and a RasterDataset,
compute the zonal stats and return json like
{ 'raster': 'elevation', 'stats': {'sum': 10234.2, 'mean': 12.4}}
result will be stored in cache
and cache value is returned if read_cache
|
|
|||
RASTER_TYPES
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Tue Oct 30 11:31:01 2012 | http://epydoc.sourceforge.net |