code: public static String decode(Geometry geometry, float scale) {
  		if (geometry == null) {
  			return "";
  		}
  		if (geometry instanceof LinearRing) {
  			return decodeLinearRing((LinearRing) geometry, scale);
  		} else if (geometry instanceof LineString) {
  			return decodeLine((LineString) geometry, scale);
  		} else if (geometry instanceof Polygon) {
  			return decodePolygon((Polygon) geometry, scale);
  		} else if (geometry instanceof MultiPolygon) {
  			return decodeMultiPolygon((MultiPolygon) geometry, scale);
  		} else if (geometry instanceof MultiLineString) {
  			return decodeMultiLine((MultiLineString) geometry, scale);
  		}
  		return "";
  	}
docs: This function decodes a Geometry (line or polygon) to a path's d-attribute.
  
  @param geometry
  The geometry to be decoded into a single path D attribute.
  @param scale
  A scale value to apply on all the coordinates of the geometry before decoding.
  @return The D attribute value as a string.