| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
RasterSymbolizer
| Instance Methods | |||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Class Variables | |
__instance_size__ = 104
|
|
| Properties | |
|
colorizer Get/Set the RasterColorizer used to color data rasters. |
|
|
comp_op Set/get the raster comp-op |
|
|
filter_factor Get/Set the filter factor used by the datasource. |
|
|
mesh_size Get/Set warping mesh size. |
|
|
mode Get/Set merging mode. |
|
|
opacity Get/Set opacity. |
|
|
scaling Get/Set scaling algorithm. |
|
|
Inherited from |
|
| Method Details |
__init__( (object)arg1) -> None :
Default ctor
C++ signature :
void __init__(_object*)
|
helper for pickle
|
| Property Details |
colorizerGet/Set the RasterColorizer used to color data rasters. Usage: >>> from mapnik import RasterSymbolizer, RasterColorizer >>> r = RasterSymbolizer() >>> r.colorizer = RasterColorizer() >>> for value, color in [ ... (0, "#000000"), ... (10, "#ff0000"), ... (40, "#00ff00"), ... ]: ... r.colorizer.append_band(value, color)
|
comp_opSet/get the raster comp-op
|
filter_factor
Get/Set the filter factor used by the datasource.
This is used by the Raster or Gdal datasources to pre-downscale
images using overviews.
Higher numbers can sometimes cause much better scaled image
output, at the cost of speed.
Examples:
-1.0 : (Default) A suitable value will be determined from the
chosen scaling method during rendering.
1.0 : The datasource will take care of all the scaling
(using nearest neighbor interpolation)
2.0 : The datasource will scale the datasource to
2.0x the desired size, and mapnik will scale the rest
of the way using the interpolation defined in self.scaling.
|
mesh_sizeGet/Set warping mesh size. Larger values result in faster warping times but might result in distorted maps. Usage: >>> from mapnik import RasterSymbolizer >>> r = RasterSymbolizer() >>> r.mesh_size = 32
|
modeGet/Set merging mode. (deprecated, use comp_op instead)
|
opacityGet/Set opacity. Usage: >>> from mapnik import RasterSymbolizer >>> r = RasterSymbolizer() >>> r.opacity = .5
|
scalingGet/Set scaling algorithm. Usage: >>> from mapnik import RasterSymbolizer >>> r = RasterSymbolizer() >>> r.scaling = 'mapnik.scaling_method.GAUSSIAN'
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 23 15:08:15 2012 | http://epydoc.sourceforge.net |