*/
public KMLWriter(OutputStream out, WMSMapContext mapContext, WMS wms) {
super(out, Charset.forName("UTF-8"));
this.mapContext = mapContext;
transformer = new GeometryTransformer();
// transformer.setUseDummyZ(true);
transformer.setOmitXMLDeclaration(true);
transformer.setNamespaceDeclarationEnabled(true);
transformer.setNumDecimals(wms.getNumDecimals());