package geoscala
- Alphabetic
- By Inheritance
- geoscala
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
Coordinate(longitude: Double, latitude: Double) extends Product with Serializable
A representation of a coordinate as a pair of longitude and latitude.
A representation of a coordinate as a pair of longitude and latitude.
- longitude
the longitude of the coordinate
- latitude
the latitude of the coordinate.
-
case class
Feature[Properties](properties: Properties, geometry: Geometry) extends GeoJson[Properties] with Product with Serializable
A feature object as of §3.2 of RFC 7946.
-
case class
FeatureCollection[Properties](features: List[Feature[Properties]]) extends GeoJson[Properties] with Product with Serializable
A feature collection as of §3.3 of RFC 7946.
A feature collection as of §3.3 of RFC 7946.
- Properties
type of representing the
properties
of a Feature,Nothing
in case it's not a feature or feature collection.- features
the features of this collection, potentially empty
-
sealed
trait
GeoJson[Properties] extends AnyRef
Marker trait for all types which represent a GeoJSON object.
Marker trait for all types which represent a GeoJSON object.
- Properties
type of representing the
properties
of a Feature,Nothing
in case it's not a feature or feature collection.
-
sealed
trait
Geometry extends GeoJson[Nothing]
Marker trait for GeoJSON object which represents a geometry as of §3.1 of RFC 7946.
-
case class
LineString(coordinates: List[Coordinate]) extends Geometry with Product with Serializable
A line string is connection between an ordered collection of points - §3.1.4 of RFC 7946.
A line string is connection between an ordered collection of points - §3.1.4 of RFC 7946.
- coordinates
the list of coordinates representing the points this line string goes through.
-
case class
MultiLineString(coordinates: List[List[Coordinate]]) extends Geometry with Product with Serializable
The multi version of a line string - §3.1.5 of RFC 7946.
The multi version of a line string - §3.1.5 of RFC 7946.
- coordinates
list of line string data, which itself is a list of coordinates
-
case class
MultiPoint(coordinates: List[Coordinate]) extends Geometry with Product with Serializable
A collection of points - §3.1.3 of RFC 7946.
A collection of points - §3.1.3 of RFC 7946.
- coordinates
a
List
of coordinates representing the single points.
-
case class
MultiPolygon(coordinates: List[List[List[Coordinate]]]) extends Geometry with Product with Serializable
The multi version of a polygon - §3.1.7 of RFC 7946.
The multi version of a polygon - §3.1.7 of RFC 7946.
- coordinates
the list of polygon data
-
case class
Point(coordinates: Coordinate) extends Geometry with Product with Serializable
A point represents a single coordinate - §3.1.2 of RFC 7946.
A point represents a single coordinate - §3.1.2 of RFC 7946.
- coordinates
a single coordinate to specify the point's location.
-
case class
Polygon(coordinates: List[List[Coordinate]]) extends Geometry with Product with Serializable
A polygon is a 2d shape which can have holes - §3.1.6 of RFC 7946.
A polygon is a 2d shape which can have holes - §3.1.6 of RFC 7946. The first list of coordinates is the outer ring, the following coordinate list are the holes.
- coordinates
list of outer ring followed by (optional) holes.