toPoint static method

String toPoint(
  1. Coordinate p0
)

Generates the WKT for a POINT specified by a {@link Coordinate}.

@param p0 the point coordinate

@return the WKT

Implementation

static String toPoint(Coordinate p0) {
  return "POINT ( ${p0.x}  ${p0.y} )";
}