code: public static void toKMLGeometry(Geometry geom, StringBuilder sb) throws SQLException {
          toKMLGeometry(geom, ExtrudeMode.NONE, AltitudeMode.NONE, sb);
      }
docs: Convert JTS geometry to a kml geometry representation.
  
  @param geom
  @param sb
  @throws SQLException