bigframes.geopandas.GeoSeries#

class bigframes.geopandas.GeoSeries(data=None, index=None, **kwargs)[source]#

A Series object designed to store geometry objects.

Examples:

>>> import bigframes.geopandas
>>> import bigframes.pandas as bpd
>>> from shapely.geometry import Point
>>> s = bigframes.geopandas.GeoSeries([Point(1, 1), Point(2, 2), Point(3, 3)])
>>> s
0    POINT (1 1)
1    POINT (2 2)
2    POINT (3 3)
dtype: geometry
Parameters:

Attributes

area

[Not Implemented] Use bigframes.bigquery.st_area(series), instead to return the area in square meters.

boundary

Returns a GeoSeries of lower dimensional objects representing each geometry's set-theoretic boundary.

centroid

convex_hull

is_closed

[Not Implemented] Use bigframes.bigquery.st_isclosed(series) instead to return a boolean indicating if a shape is closed.

length

x

Return the x location of point geometries in a GeoSeries

y

Return the y location of point geometries in a GeoSeries

Methods

__init__([data, index])

buffer(distance)

difference(other)

Returns a GeoSeries of the points in each aligned geometry that are not in other.

distance(other)

[Not Implemented] Use bigframes.bigquery.st_distance(series, other) instead to return the shorted distance between two GEOGRAPHY objects in meters.

from_wkt(data[, index, session])

from_xy(x, y[, index, session])

intersection(other)

Returns a GeoSeries of the intersection of points in each aligned geometry with other.

simplify(tolerance[, preserve_topology])

[Not Implemented] Use bigframes.bigquery.st_simplify(series, tolerance_meters), instead to set the tolerance in meters.

to_wkt()

Convert GeoSeries geometries to WKT