public String getLatLonBoundaryAsWKT(int maxPointsInYEdge, int maxPointsInXEdge) {
    """
	Returns the {@link #calcConnectedLatLonBoundaryPoints(int, int) latitude/longitude boundary} of this coordinate
	reference system as a polygon in WKT. It is used in the OpenLayers map in NCSS, as well as the
	"datasetBoundaries" endpoint.
	
	@param maxPointsInYEdge  the maximum number of boundary points to include from the right and left edges.
	@param maxPointsInXEdge  the maximum number of boundary points to include from the bottom and top edges.
	@return  the latitude/longitude boundary of this CRS as a polygon in WKT.
    """
    List<LatLonPointNoNormalize> points = calcConnectedLatLonBoundaryPoints(maxPointsInYEdge, maxPointsInXEdge);
    StringBuilder sb = new StringBuilder("POLYGON((");

    for (LatLonPointNoNormalize point : points) {
      sb.append(String.format("%.3f %.3f, ", point.getLongitude(), point.getLatitude()));
    }

    sb.delete(sb.length() - 2, sb.length());  // Nuke trailing comma and space.
    sb.append("))");
    return sb.toString();
  }
public String getLatLonBoundaryAsWKT(int maxPointsInYEdge, int maxPointsInXEdge) {
    List<LatLonPointNoNormalize> points = calcConnectedLatLonBoundaryPoints(maxPointsInYEdge, maxPointsInXEdge);
    StringBuilder sb = new StringBuilder("POLYGON((");

    for (LatLonPointNoNormalize point : points) {
      sb.append(String.format("%.3f %.3f, ", point.getLongitude(), point.getLatitude()));
    }

    sb.delete(sb.length() - 2, sb.length());  // Nuke trailing comma and space.
    sb.append("))");
    return sb.toString();
  }
public String getLatLonBoundaryAsWKT ( int maxPointsInYEdge , int maxPointsInXEdge ) { List < LatLonPointNoNormalize > points = calcConnectedLatLonBoundaryPoints ( maxPointsInYEdge , maxPointsInXEdge ) ; StringBuilder sb = new StringBuilder ( "POLYGON((" ) ; for ( LatLonPointNoNormalize point : points ) { sb . append ( String . format ( "%.3f %.3f, " , point . getLongitude ( ) , point . getLatitude ( ) ) ) ; } sb . delete ( sb . length ( ) - 2 , sb . length ( ) ) ; // Nuke trailing comma and space. sb . append ( "))" ) ; return sb . toString ( ) ; }
Returns the {@link #calcConnectedLatLonBoundaryPoints(int, int) latitude/longitude boundary} of this coordinate
reference system as a polygon in WKT. It is used in the OpenLayers map in NCSS, as well as the
"datasetBoundaries" endpoint.

@param maxPointsInYEdge  the maximum number of boundary points to include from the right and left edges.
@param maxPointsInXEdge  the maximum number of boundary points to include from the bottom and top edges.
@return  the latitude/longitude boundary of this CRS as a polygon in WKT.
Returns the { @link #calcConnectedLatLonBoundaryPoints ( int int ) latitude / longitude boundary } of this coordinate reference system as a polygon in WKT . It is used in the OpenLayers map in NCSS as well as the datasetBoundaries endpoint .