GeoSeries#
Constructor#
|
A Series object designed to store shapely geometry objects. |
General methods and attributes#
Returns a |
|
Returns a |
|
Returns a |
|
Returns a tuple containing |
|
Returns a |
|
Returns a |
|
|
Returns a |
|
Returns a |
|
Returns a |
|
Returns a |
Returns a |
|
Returns a |
|
Returns a |
|
Returns a Series of the radii of the minimum bounding circles that enclose each geometry. |
|
Return the x location of point geometries in a GeoSeries |
|
Return the y location of point geometries in a GeoSeries |
|
Return the z location of point geometries in a GeoSeries |
|
|
|
Returns a |
|
Returns a |
|
Returns a |
|
|
Returns a |
Returns a |
|
|
Returns the n-th geometry from a collection of geometries. |
Unary predicates#
Returns a |
|
Returns a |
|
Returns a |
|
Returns a |
|
Returns a |
|
Returns a |
|
Returns a |
|
Returns a |
Binary predicates#
|
Returns a |
|
Returns a |
|
Returns a |
|
Returns a |
|
Returns a |
|
Returns a |
|
Return True for all geometries that equal aligned other to a given tolerance, else False. |
|
Returns a |
|
Returns True for all aligned geometries that overlap other, else False. |
|
Returns a |
|
Returns a |
|
Returns a |
|
Returns a |
|
Returns the DE-9IM intersection matrices for the geometries |
|
Returns True if the DE-9IM string code for the relationship between the geometries satisfies the pattern, else False. |
Set-theoretic methods#
|
Returns a |
|
Returns a |
|
Returns a |
|
Returns a |
|
Returns a |
Constructive methods and attributes#
Returns a |
|
|
Returns a |
Returns a |
|
|
Returns a |
Returns a |
|
Returns a |
|
Returns a |
|
Forces the dimensionality of a geometry to 2D. |
|
|
Forces the dimensionality of a geometry to 3D. |
|
Repairs invalid geometries. |
Returns a |
|
Returns a |
|
Returns a |
|
Returns a |
|
|
Returns a |
Returns a |
|
|
Sample points from each geometry. |
|
Returns a |
|
Returns the shortest two-point line between two geometries. |
|
Returns a |
|
Snap the vertices and segments of the geometry to vertices of the reference. |
|
Returns a |
Affine transformations#
|
Return a |
|
Returns a |
|
Returns a |
|
Returns a |
|
Returns a |
Linestring operations#
|
Return a point at the specified distance along each geometry |
|
Returns (Multi)LineStrings formed by combining the lines in a MultiLineString. |
|
Return the distance along each geometry nearest to other |
|
Returns the shared paths between two geometries. |
Aggregating and exploding#
|
Creates an areal geometry formed by the constituent linework. |
|
Returns a |
|
Explode multi-part geometries into multiple single geometries. |
Returns a geometry containing the intersection of all geometries in the |
|
|
Creates polygons formed from the linework of a GeoSeries. |
|
Returns a geometry containing the union of all geometries in the |
|
Returns a |
Serialization / IO / conversion#
|
Construct a GeoSeries from a Arrow array object with a GeoArrow extension type. |
|
Alternate constructor to create a |
|
Alternate constructor to create a |
|
Alternate constructor to create a |
|
Alternate constructor to create a |
|
Encode a GeoSeries to GeoArrow format. |
|
Write the |
|
Returns a GeoJSON string representation of the GeoSeries. |
|
Convert GeoSeries geometries to WKB |
|
Convert GeoSeries geometries to WKT |
Projection handling#
The Coordinate Reference System (CRS) represented as a |
|
|
|
|
Returns a |
|
Returns the estimated UTM CRS based on the bounds of the dataset. |
Missing values#
|
Fill NA values with geometry (or geometries). |
Detect missing values. |
|
Detect non-missing values. |
Overlay operations#
|
Clip points, lines, or polygon geometries to the mask extent. |
Plotting#
|
Plot a GeoSeries. |
|
Interactive map based on folium/leaflet.jsInteractive map based on GeoPandas and folium/leaflet.js |
Spatial index#
Generate the spatial index |
|
Check the existence of the spatial index without generating it. |
Indexing#
Coordinate based indexer to select by intersection with bounding box. |
Interface#
Returns a |
Methods of pandas Series
objects are also available, although not
all are applicable to geometric objects and some may return a
Series
rather than a GeoSeries
result when appropriate. The methods
isna()
and fillna()
have been
implemented specifically for GeoSeries
and are expected to work
correctly.