brk-code

shapely の API リファレンス

shapely (shapely/shapely) の公開 API 69 件 —— クラス 20、関数 31、メソッド 18。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。

リポジトリ: shapely/shapely

種別件数
クラス20
関数31
メソッド18

API 一覧

classshapely._coverage.CoverageCleanMergeStrategy
Enumeration of coverage clean merge strategies.
funcshapely._coverage.coverage_is_valid(geometry, gap_width=0.0, **kwargs)
Verify if a coverage is valid.
classshapely._enum.ParamEnum
Wraps IntEnum to provide validation of a requested item.
classshapely._geometry.GeometryType
The enumeration of GEOS geometry types.
funcshapely._geometry.get_m(point, **kwargs)
Return the m-coordinate of a point.
funcshapely._geometry.get_precision(geometry, **kwargs)
Get the precision of a geometry.
funcshapely._geometry.get_srid(geometry, **kwargs)
Return the SRID of a geometry.
funcshapely._geometry.get_type_id(geometry, **kwargs)
Return the type ID of a geometry.
funcshapely._geometry.get_x(point, **kwargs)
Return the x-coordinate of a point.
funcshapely._geometry.get_y(point, **kwargs)
Return the y-coordinate of a point.
funcshapely._geometry.get_z(point, **kwargs)
Return the z-coordinate of a point.
funcshapely._geometry.set_srid(geometry, srid, **kwargs)
Return a geometry with its SRID set.
classshapely.constructive.BufferCapStyle
Enumeration of buffer cap styles.
classshapely.constructive.BufferJoinStyle
Enumeration of buffer join styles.
funcshapely.constructive.make_valid(geometry, *method='linework', *keep_collapsed=True, **kwargs)
Repair invalid geometries.
funcshapely.creation.box(xmin, ymin, xmax, ymax, ccw=True, **kwargs)
Create box polygons.
funcshapely.creation.points(coords, y=None, z=None, indices=None, *handle_nan=HandleNaN.allow, *out=None, **kwargs)
Create an array of points.
funcshapely.creation.polygons(geometries, holes=None, indices=None, *out=None, **kwargs)
Create an array of polygons.
funcshapely.decorators.multithreading_enabled(func)
Enable multithreading.
classshapely.decorators.requires_geos
Decorator to require a minimum GEOS version.
classshapely.errors.DimensionError
An error in the number of coordinate dimensions.
classshapely.errors.TopologicalError
A geometry is invalid or topologically incorrect.
classshapely.geometry.base.BaseGeometry
Provides GEOS spatial predicates and topological operations.
methodshapely.geometry.base.BaseGeometry.area()
Unitless area of the geometry (float).
methodshapely.geometry.base.BaseGeometry.envelope()
A figure that envelopes the geometry.
methodshapely.geometry.base.BaseGeometry.geometryType()
Get the geometry type (deprecated).
methodshapely.geometry.base.BaseGeometry.is_simple()
True if the geometry is simple.
methodshapely.geometry.base.BaseGeometry.is_valid()
True if the geometry is valid.
methodshapely.geometry.base.BaseGeometry.svg(scale_factor=1.0, **kwargs)
Raise NotImplementedError.
methodshapely.geometry.base.BaseGeometry.type()
Get the geometry type (deprecated).
methodshapely.geometry.base.BaseGeometry.union(other, grid_size=None)
Return the union of the geometries.
methodshapely.geometry.base.BaseGeometry.wkb()
WKB representation of the geometry.
methodshapely.geometry.base.BaseGeometry.wkt()
WKT representation of the geometry.
classshapely.geometry.base.BaseMultipartGeometry
Base class for collections of multiple geometries.
methodshapely.geometry.base.BaseMultipartGeometry.coords()
Not implemented.
methodshapely.geometry.base.BaseMultipartGeometry.geoms()
Access to the contained geometries.
classshapely.geometry.base.CAP_STYLE
Buffer cap styles.
classshapely.geometry.base.EmptyGeometry
An empty geometry.
classshapely.geometry.base.JOIN_STYLE
Buffer join styles.
funcshapely.geometry.geo.mapping(ob)
Return a GeoJSON-like mapping.
classshapely.geometry.linestring.LineString
A geometry type composed of one or more line segments.
classshapely.geometry.multilinestring.MultiLineString
A collection of one or more LineStrings.
classshapely.geometry.multipoint.MultiPoint
A collection of one or more Points.
classshapely.geometry.multipolygon.MultiPolygon
A collection of one or more Polygons.
classshapely.geometry.point.Point
A geometry type that represents a single coordinate.
methodshapely.geometry.point.Point.m()
Return m coordinate.
methodshapely.geometry.point.Point.x()
Return x coordinate.
methodshapely.geometry.point.Point.y()
Return y coordinate.
methodshapely.geometry.point.Point.z()
Return z coordinate.
methodshapely.geometry.polygon.Polygon.coords()
Not implemented for polygons.
funcshapely.geometry.polygon.orient(polygon, sign=1.0)
Return an oriented polygon.
funcshapely.linear.shared_paths(a, b, **kwargs)
Return the shared paths between a and b.
funcshapely.measurement.area(geometry, **kwargs)
Compute the area of a (multi)polygon.
funcshapely.ops.transform(func, geom)
Apply `func` to all coordinates of `geom`.
funcshapely.ops.validate(geom)
Return True if the geometry is valid.
funcshapely.predicates.crosses(a, b, **kwargs)
Return True if A and B spatially cross.
funcshapely.predicates.is_prepared(geometry, **kwargs)
Return True if a Geometry is prepared.
funcshapely.predicates.is_simple(geometry, **kwargs)
Return True if the geometry is simple.
funcshapely.set_operations.coverage_union(a, b, **kwargs)
Merge multiple polygons into one.
funcshapely.set_operations.union(a, b, grid_size=None, **kwargs)
Merge geometries into one.
classshapely.strtree.BinaryPredicate
The enumeration of GEOS binary predicates types.
classshapely.strtree.STRtree
A query-only R-tree spatial index.
methodshapely.strtree.STRtree.nearest(geometry) -> Any | None
Return the index of the nearest geometry in the tree.
funcshapely.wkb.dump(ob, fp, hex=False, **kw)
Dump a geometry to an open file.
funcshapely.wkb.load(fp, hex=False)
Load a geometry from an open file.
funcshapely.wkb.loads(data, hex=False)
Load a geometry from a WKB byte string.
funcshapely.wkt.dump(ob, fp, **settings)
Dump a geometry to an open file.
funcshapely.wkt.load(fp)
Load a geometry from an open file.
funcshapely.wkt.loads(data)
Load a geometry from a WKT string.

この情報について

掲載しているシグネチャは shapely/shapely の公開ソースコードを Python の ast モジュールで静的解析し、引数名・デフォルト値・ 型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。 詳しくは仕組みの解説をご覧ください。

収録ライブラリ一覧(全 805 件)へ戻る