GeoPolygon

object GeoPolygon
Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

Creates a single ring polygon.

Creates a single ring polygon.

Value parameters:
exterior

the single (exterior) ring (cannot self-intersect)

def apply(exterior: GeoLinearRing, interior: GeoLinearRing*): GeoPolygon

Creates a multiple rings polygon.

Creates a multiple rings polygon.

Any interior ring must be entirely contained by the outer ring. Interior rings cannot intersect or overlap each other. Interior rings cannot share an edge.

Value parameters:
exterior

the exterior (mandatory) ring (cannot self-intersect)

interior

some optional interior rings

Extracts the ring properties.

Extracts the ring properties.

Concrete fields

Implicits

Implicits

implicit val reader: BSONDocumentReader[GeoPolygon]
implicit val writer: BSONDocumentWriter[GeoPolygon]