Package com.cognite.client.util.geo
Class MultiLineStrings
java.lang.Object
com.cognite.client.util.geo.MultiLineStrings
Helper class for working with
MultiLineString objects.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MultiLineStringof(double[][][] coordinates) Create aMultiLineStringobject based on a list of list of point coordinates.static MultiLineStringof(LineString... lineStrings) Create aMultiLineStringobject based on a set of geoLineStrings.static MultiLineStringof(List<LineString> lineStrings) Create aMultiLineStringobject based on a set of geoLineStrings.
-
Constructor Details
-
MultiLineStrings
public MultiLineStrings()
-
-
Method Details
-
of
Create aMultiLineStringobject based on a set of geoLineStrings.- Parameters:
lineStrings- The set of LineStrings representing the MultiLineString.- Returns:
- The
MultiLineStringrepresenting the geo feature.
-
of
Create aMultiLineStringobject based on a set of geoLineStrings.- Parameters:
lineStrings- The set of LineStrings representing the MultiLineString.- Returns:
- The
MultiLineStringrepresenting the geo feature.
-
of
Create aMultiLineStringobject based on a list of list of point coordinates. Each entry in the list is a list of positions (coordinate pairs or a triplet): long, lat and an optional elevation. I.e. a list of line strings. The coordinate datum is World Geodetic System 1984 (WGS 84), with longitude and latitude units of decimal degrees. The optional elevation is expressed in height in meters above or below the WGS 84 reference ellipsoid. For example,[[[30.0, 40.0], [35.0, 45.0], [35.0, 40.0]], [[10.0, 5.0], [15.0, 25.0]]].- Parameters:
coordinates- The coordinates for the MultiLineString.- Returns:
- The
MultiLineStringrepresenting the geo feature. - Throws:
Exception
-