| org.vfny.geoserver.wms.responses.map.kml.KMLTransformerBase org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer
KMLVectorTransformer | public class KMLVectorTransformer extends KMLTransformerBase (Code) | | Transforms a feature collection to a kml document consisting of nested
"Style" and "Placemark" elements for each feature in the collection.
A new transfomer must be instantianted for each feature collection,
the feature collection provided to the translator is supposed to be
the one coming out of the MapLayer
Usage:
author: Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org |
Inner Class :protected class KMLTranslator extends KMLTranslatorSupport | |
TOLERANCE | final static double TOLERANCE(Code) | | Tolerance used to compare doubles for equality
|
dtformats | static List dtformats(Code) | | list of formats which correspond to the default formats in which
freemarker outputs dates when a user calls the ?datetime(),?date(),?time()
fuctions.
|
mapLayer | final protected MapLayer mapLayer(Code) | | The map layer being transformed
|
scaleDenominator | double scaleDenominator(Code) | | The scale denominator.
TODO: calcuate a real value based on image size to bbox ratio, as image
size has no meanining for KML yet this is a fudge.
|
scaleRange | NumberRange scaleRange(Code) | | |
styleFactory | SLDStyleFactory styleFactory(Code) | | used to create 2d style objects for features
|
KMLVectorTransformer | public KMLVectorTransformer(WMSMapContext mapContext, MapLayer mapLayer)(Code) | | |
setScaleDenominator | public void setScaleDenominator(double scaleDenominator)(Code) | | Sets the scale denominator.
|
Fields inherited from org.vfny.geoserver.wms.responses.map.kml.KMLTransformerBase | boolean standAlone(Code)(Java Doc)
|
Methods inherited from org.vfny.geoserver.wms.responses.map.kml.KMLTransformerBase | public boolean isStandAlone()(Code)(Java Doc) public void setStandAlone(boolean standAlone)(Code)(Java Doc)
|
|
|