Skip to main content
Alternate constructor to create a GeoSeries of Point geometries from lists or arrays of x, y(, z) coordinates In case of geographic coordinates, it is assumed that longitude is captured by x coordinates and latitude by y.

Signature

Parameters

iterable
required
X coordinates (longitude for geographic coordinates).
iterable
required
Y coordinates (latitude for geographic coordinates).
iterable
default:"None"
Z coordinates. If omitted, 2D points are created.
array - like or Index
default:"None"
The index for the GeoSeries. If not given and all coordinate inputs are Series with an equal index, that index is used.
value
default:"None"
Coordinate Reference System of the geometry objects. Can be anything accepted by pyproj.CRS.from_user_input() <pyproj.crs.CRS.from_user_input>, such as an authority string (eg “EPSG:4326”) or a WKT string.
Only name is supported, the name of the resulting GeoSeries. Other keyword arguments raise TypeError.

Returns

GeoSeries
See also
  • GeoSeries.from_wkt
  • points_from_xy

Examples