spherely.Point

spherely.Point#

class spherely.Point#

A geography type that represents a single coordinate with lat,lon or x,y,z values.

A point is a zero-dimensional feature and has zero length and zero area.

Parameters:
  • lat (float) – latitude coordinate, in degrees

  • lon (float) – longitude coordinate, in degrees

__init__(self: spherely.Point, lat: float, lon: float) None#

Methods

__init__(self, lat, lon)

Attributes

dimensions

Returns the inherent dimensionality of a geometry.

nshape

Returns the number of elements in the collection, or 1 for simple geography objects.