shapely 2.1.2
Version history | Download JSON
-
PyPI https://pypi.org/project/shapely/ Repository https://github.com/shapely/shapely -
py.typed -
Coverage
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "Typed" : 7 "Any" : 0 "Untyped" : 904 -
Typables
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "functions" : 632 "classes" : 274 "other" : 2- 155 functions (+0 overloads)
- 477 parameters
- 26 classes
- 98 methods (+0 overloads)
- 127 parameters
- 49 properties
- 98 methods (+0 overloads)
- 35 modules
- 2 attrs
- 155 functions (+0 overloads)
Modules
Incomplete Annotations
shapely (1 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
version |
1 | 0 | 0 |
shapely._ragged_array (8 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
from_ragged_array |
4 | 0 | 0 |
func |
to_ragged_array |
4 | 0 | 0 |
shapely.affinity (25 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
skew |
6 | 0 | 0 |
func |
scale |
6 | 0 | 0 |
func |
rotate |
5 | 0 | 0 |
func |
affine_transform |
3 | 0 | 0 |
func |
translate |
5 | 0 | 0 |
shapely.algorithms.cga (2 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
signed_area |
2 | 0 | 0 |
shapely.algorithms.polylabel (3 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
polylabel |
3 | 0 | 0 |
shapely.constructive (119 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
build_area |
3 | 0 | 0 |
func |
snap |
5 | 0 | 0 |
func |
centroid |
3 | 0 | 0 |
func |
concave_hull |
5 | 0 | 0 |
func |
segmentize |
4 | 0 | 0 |
func |
node |
3 | 0 | 0 |
func |
simplify |
5 | 0 | 0 |
func |
remove_repeated_points |
4 | 0 | 0 |
func |
delaunay_triangles |
5 | 0 | 0 |
func |
reverse |
3 | 0 | 0 |
func |
buffer |
9 | 0 | 0 |
func |
normalize |
3 | 0 | 0 |
func |
extract_unique_points |
3 | 0 | 0 |
func |
voronoi_polygons |
7 | 0 | 0 |
func |
oriented_envelope |
3 | 0 | 0 |
func |
make_valid |
5 | 0 | 0 |
func |
minimum_clearance_line |
3 | 0 | 0 |
func |
orient_polygons |
4 | 0 | 0 |
func |
clip_by_rect |
7 | 0 | 0 |
func |
minimum_bounding_circle |
3 | 0 | 0 |
func |
boundary |
3 | 0 | 0 |
func |
convex_hull |
3 | 0 | 0 |
func |
envelope |
3 | 0 | 0 |
func |
point_on_surface |
3 | 0 | 0 |
func |
polygonize_full |
3 | 0 | 0 |
func |
constrained_delaunay_triangles |
3 | 0 | 0 |
func |
polygonize |
3 | 0 | 0 |
func |
offset_curve |
7 | 0 | 0 |
func |
maximum_inscribed_circle |
4 | 0 | 0 |
shapely.coordinates (13 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
set_coordinates |
3 | 0 | 0 |
func |
get_coordinates |
5 | 0 | 0 |
func |
count_coordinates |
2 | 0 | 0 |
func |
transform |
5 | 2 | 0 |
shapely.coords (10 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
CoordinateSequence.init |
2 | 0 | 0 |
meth |
CoordinateSequence.len |
1 | 0 | 0 |
meth |
CoordinateSequence.iter |
1 | 0 | 0 |
meth |
CoordinateSequence.getitem |
2 | 0 | 0 |
meth |
CoordinateSequence.array |
3 | 0 | 0 |
prop |
CoordinateSequence.xy |
1 | 0 | 0 |
shapely.creation (67 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
prepare |
3 | 0 | 0 |
func |
multipoints |
5 | 0 | 0 |
func |
multipolygons |
5 | 0 | 0 |
func |
multilinestrings |
5 | 0 | 0 |
func |
geometrycollections |
5 | 0 | 0 |
func |
linearrings |
8 | 0 | 0 |
func |
linestrings |
8 | 0 | 0 |
func |
points |
8 | 0 | 0 |
func |
empty |
4 | 0 | 0 |
func |
destroy_prepared |
3 | 0 | 0 |
func |
polygons |
6 | 0 | 0 |
func |
box |
7 | 0 | 0 |
shapely.decorators (8 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
multithreading_enabled |
2 | 0 | 0 |
func |
deprecate_positional |
3 | 2 | 0 |
meth |
requires_geos.init |
2 | 0 | 0 |
meth |
requires_geos.call |
2 | 0 | 0 |
attr |
requires_geos.version |
1 | 0 | 0 |
shapely.errors (2 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
setup_signal_checks |
2 | 0 | 0 |
shapely.geometry.base (149 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
BaseMultipartGeometry.bool |
1 | 0 | 0 |
meth |
BaseMultipartGeometry.eq |
2 | 0 | 0 |
meth |
BaseMultipartGeometry.hash |
1 | 0 | 0 |
meth |
BaseMultipartGeometry.svg |
3 | 0 | 0 |
prop |
BaseMultipartGeometry.coords |
1 | 0 | 0 |
prop |
BaseMultipartGeometry.geoms |
1 | 0 | 0 |
meth |
GeometrySequence.init |
2 | 0 | 0 |
meth |
GeometrySequence.get_geom_item |
2 | 0 | 0 |
meth |
GeometrySequence.__iter__ |
1 | 0 | 0 |
meth |
GeometrySequence.__len__ |
1 | 0 | 0 |
meth |
GeometrySequence.__getitem__ |
2 | 0 | 0 |
func |
geom_factory |
3 | 0 | 0 |
func |
dump_coords |
2 | 0 | 0 |
meth |
EmptyGeometry.__new__ |
1 | 0 | 0 |
meth |
BaseGeometry.__new__ |
1 | 0 | 0 |
meth |
BaseGeometry.__bool__ |
1 | 0 | 0 |
meth |
BaseGeometry.__nonzero__ |
1 | 0 | 0 |
meth |
BaseGeometry.__format__ |
2 | 0 | 0 |
meth |
BaseGeometry.__repr__ |
1 | 0 | 0 |
meth |
BaseGeometry.__str__ |
1 | 0 | 0 |
meth |
BaseGeometry.__reduce__ |
1 | 0 | 0 |
meth |
BaseGeometry.__and__ |
2 | 0 | 0 |
meth |
BaseGeometry.__or__ |
2 | 0 | 0 |
meth |
BaseGeometry.__sub__ |
2 | 0 | 0 |
meth |
BaseGeometry.__xor__ |
2 | 0 | 0 |
meth |
BaseGeometry.geometryType |
1 | 0 | 0 |
meth |
BaseGeometry.svg |
3 | 0 | 0 |
meth |
BaseGeometry._repr_svg |
1 | 0 | 0 |
meth |
BaseGeometry.distance |
2 | 0 | 0 |
meth |
BaseGeometry.hausdorff_distance |
2 | 0 | 0 |
meth |
BaseGeometry.point_on_surface |
1 | 0 | 0 |
meth |
BaseGeometry.representative_point |
1 | 0 | 0 |
meth |
BaseGeometry.buffer |
8 | 0 | 0 |
meth |
BaseGeometry.simplify |
3 | 0 | 0 |
meth |
BaseGeometry.normalize |
1 | 0 | 0 |
meth |
BaseGeometry.difference |
3 | 0 | 0 |
meth |
BaseGeometry.intersection |
3 | 0 | 0 |
meth |
BaseGeometry.symmetric_difference |
3 | 0 | 0 |
meth |
BaseGeometry.union |
3 | 0 | 0 |
meth |
BaseGeometry.relate |
2 | 0 | 0 |
meth |
BaseGeometry.covers |
2 | 0 | 0 |
meth |
BaseGeometry.covered_by |
2 | 0 | 0 |
meth |
BaseGeometry.contains |
2 | 0 | 0 |
meth |
BaseGeometry.contains_properly |
2 | 0 | 0 |
meth |
BaseGeometry.crosses |
2 | 0 | 0 |
meth |
BaseGeometry.disjoint |
2 | 0 | 0 |
meth |
BaseGeometry.equals |
2 | 0 | 0 |
meth |
BaseGeometry.intersects |
2 | 0 | 0 |
meth |
BaseGeometry.overlaps |
2 | 0 | 0 |
meth |
BaseGeometry.touches |
2 | 0 | 0 |
meth |
BaseGeometry.within |
2 | 0 | 0 |
meth |
BaseGeometry.dwithin |
3 | 0 | 0 |
meth |
BaseGeometry.equals_exact |
4 | 0 | 0 |
meth |
BaseGeometry.relate_pattern |
3 | 0 | 0 |
meth |
BaseGeometry.line_locate_point |
3 | 0 | 0 |
meth |
BaseGeometry.project |
3 | 0 | 0 |
meth |
BaseGeometry.line_interpolate_point |
3 | 0 | 0 |
meth |
BaseGeometry.interpolate |
3 | 0 | 0 |
meth |
BaseGeometry.segmentize |
2 | 0 | 0 |
meth |
BaseGeometry.reverse |
1 | 0 | 0 |
prop |
BaseGeometry._ndim |
1 | 0 | 0 |
prop |
BaseGeometry.coords |
1 | 0 | 0 |
prop |
BaseGeometry.xy |
1 | 0 | 0 |
prop |
BaseGeometry.geo_interface |
1 | 0 | 0 |
prop |
BaseGeometry.type |
1 | 0 | 0 |
prop |
BaseGeometry.wkt |
1 | 0 | 0 |
prop |
BaseGeometry.wkb |
1 | 0 | 0 |
prop |
BaseGeometry.wkb_hex |
1 | 0 | 0 |
prop |
BaseGeometry.geom_type |
1 | 0 | 0 |
prop |
BaseGeometry.area |
1 | 0 | 0 |
prop |
BaseGeometry.length |
1 | 0 | 0 |
prop |
BaseGeometry.minimum_clearance |
1 | 0 | 0 |
prop |
BaseGeometry.boundary |
1 | 0 | 0 |
prop |
BaseGeometry.bounds |
1 | 0 | 0 |
prop |
BaseGeometry.centroid |
1 | 0 | 0 |
prop |
BaseGeometry.convex_hull |
1 | 0 | 0 |
prop |
BaseGeometry.envelope |
1 | 0 | 0 |
prop |
BaseGeometry.oriented_envelope |
1 | 0 | 0 |
prop |
BaseGeometry.minimum_rotated_rectangle |
1 | 0 | 0 |
prop |
BaseGeometry.has_z |
1 | 0 | 0 |
prop |
BaseGeometry.has_m |
1 | 0 | 0 |
prop |
BaseGeometry.is_empty |
1 | 0 | 0 |
prop |
BaseGeometry.is_ring |
1 | 0 | 0 |
prop |
BaseGeometry.is_closed |
1 | 0 | 0 |
prop |
BaseGeometry.is_simple |
1 | 0 | 0 |
prop |
BaseGeometry.is_valid |
1 | 0 | 0 |
shapely.geometry.collection (3 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
GeometryCollection.new |
2 | 0 | 0 |
prop |
GeometryCollection.geo_interface |
1 | 0 | 0 |
shapely.geometry.geo (10 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
mapping |
2 | 0 | 0 |
func |
shape |
2 | 0 | 0 |
func |
box |
6 | 0 | 0 |
shapely.geometry.linestring (19 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
LineString.new |
2 | 0 | 0 |
meth |
LineString.svg |
4 | 0 | 0 |
meth |
LineString.offset_curve |
5 | 0 | 0 |
meth |
LineString.parallel_offset |
6 | 0 | 0 |
prop |
LineString.geo_interface |
1 | 0 | 0 |
prop |
LineString.xy |
1 | 0 | 0 |
shapely.geometry.multilinestring (7 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
MultiLineString.new |
2 | 0 | 0 |
meth |
MultiLineString.svg |
4 | 0 | 0 |
prop |
MultiLineString.geo_interface |
1 | 0 | 0 |
shapely.geometry.multipoint (7 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
MultiPoint.new |
2 | 0 | 0 |
meth |
MultiPoint.svg |
4 | 0 | 0 |
prop |
MultiPoint.geo_interface |
1 | 0 | 0 |
shapely.geometry.multipolygon (7 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
MultiPolygon.new |
2 | 0 | 0 |
meth |
MultiPolygon.svg |
4 | 0 | 0 |
prop |
MultiPolygon.geo_interface |
1 | 0 | 0 |
shapely.geometry.point (12 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
Point.new |
2 | 0 | 0 |
meth |
Point.svg |
4 | 0 | 0 |
prop |
Point.x |
1 | 0 | 0 |
prop |
Point.y |
1 | 0 | 0 |
prop |
Point.z |
1 | 0 | 0 |
prop |
Point.m |
1 | 0 | 0 |
prop |
Point.geo_interface |
1 | 0 | 0 |
prop |
Point.xy |
1 | 0 | 0 |
shapely.geometry.polygon (25 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
LinearRing.new |
2 | 0 | 0 |
meth |
LinearRing.reduce |
1 | 0 | 0 |
prop |
LinearRing.geo_interface |
1 | 0 | 0 |
prop |
LinearRing.is_ccw |
1 | 0 | 0 |
prop |
LinearRing.is_simple |
1 | 0 | 0 |
meth |
Polygon.new |
3 | 0 | 0 |
meth |
Polygon.svg |
4 | 0 | 0 |
meth |
Polygon.from_bounds |
5 | 0 | 0 |
prop |
Polygon.exterior |
1 | 0 | 0 |
prop |
Polygon.interiors |
1 | 0 | 0 |
prop |
Polygon.coords |
1 | 0 | 0 |
prop |
Polygon.geo_interface |
1 | 0 | 0 |
func |
orient |
3 | 0 | 0 |
shapely.io (31 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
to_wkb |
8 | 0 | 0 |
func |
to_geojson |
4 | 0 | 0 |
func |
from_wkt |
4 | 0 | 0 |
func |
to_wkt |
7 | 0 | 0 |
func |
from_geojson |
4 | 0 | 0 |
func |
from_wkb |
4 | 0 | 0 |
shapely.linear (22 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
line_locate_point |
5 | 0 | 0 |
func |
shortest_line |
4 | 0 | 0 |
func |
line_interpolate_point |
5 | 0 | 0 |
func |
shared_paths |
4 | 0 | 0 |
func |
line_merge |
4 | 0 | 0 |
shapely.measurement (32 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
length |
3 | 0 | 0 |
func |
minimum_clearance |
3 | 0 | 0 |
func |
hausdorff_distance |
5 | 0 | 0 |
func |
minimum_bounding_radius |
3 | 0 | 0 |
func |
total_bounds |
3 | 0 | 0 |
func |
frechet_distance |
5 | 0 | 0 |
func |
bounds |
3 | 0 | 0 |
func |
area |
3 | 0 | 0 |
func |
distance |
4 | 0 | 0 |
shapely.ops (39 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
substring |
5 | 0 | 0 |
func |
transform |
3 | 0 | 0 |
func |
clip_by_rect |
6 | 0 | 0 |
func |
voronoi_diagram |
5 | 0 | 0 |
func |
snap |
4 | 0 | 0 |
func |
validate |
2 | 0 | 0 |
func |
shared_paths |
3 | 0 | 0 |
attr |
operator |
1 | 0 | 0 |
func |
triangulate |
4 | 0 | 0 |
func |
orient |
3 | 0 | 0 |
func |
nearest_points |
3 | 0 | 0 |
shapely.plotting (25 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
patch_from_polygon |
3 | 0 | 0 |
func |
plot_points |
6 | 0 | 0 |
func |
plot_polygon |
9 | 0 | 0 |
func |
plot_line |
7 | 0 | 0 |
shapely.predicates (117 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
has_z |
3 | 0 | 0 |
func |
is_closed |
3 | 0 | 0 |
func |
contains |
4 | 0 | 0 |
func |
covered_by |
4 | 0 | 0 |
func |
disjoint |
4 | 0 | 0 |
func |
equals |
4 | 0 | 0 |
func |
has_m |
3 | 0 | 0 |
func |
equals_exact |
6 | 0 | 0 |
func |
contains_xy |
5 | 0 | 0 |
func |
is_prepared |
3 | 0 | 0 |
func |
is_valid |
3 | 0 | 0 |
func |
overlaps |
4 | 0 | 0 |
func |
dwithin |
5 | 0 | 0 |
func |
equals_identical |
4 | 0 | 0 |
func |
crosses |
4 | 0 | 0 |
func |
is_missing |
3 | 0 | 0 |
func |
is_simple |
3 | 0 | 0 |
func |
contains_properly |
4 | 0 | 0 |
func |
is_ccw |
3 | 0 | 0 |
func |
is_geometry |
3 | 0 | 0 |
func |
is_valid_input |
3 | 0 | 0 |
func |
intersects_xy |
5 | 0 | 0 |
func |
is_valid_reason |
3 | 0 | 0 |
func |
relate_pattern |
5 | 0 | 0 |
func |
covers |
4 | 0 | 0 |
func |
touches |
4 | 0 | 0 |
func |
intersects |
4 | 0 | 0 |
func |
relate |
4 | 0 | 0 |
func |
within |
4 | 0 | 0 |
func |
is_empty |
3 | 0 | 0 |
func |
is_ring |
3 | 0 | 0 |
shapely.prepared (25 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
PreparedGeometry.init |
2 | 0 | 0 |
meth |
PreparedGeometry.contains |
2 | 0 | 0 |
meth |
PreparedGeometry.contains_properly |
2 | 0 | 0 |
meth |
PreparedGeometry.covers |
2 | 0 | 0 |
meth |
PreparedGeometry.crosses |
2 | 0 | 0 |
meth |
PreparedGeometry.disjoint |
2 | 0 | 0 |
meth |
PreparedGeometry.intersects |
2 | 0 | 0 |
meth |
PreparedGeometry.overlaps |
2 | 0 | 0 |
meth |
PreparedGeometry.touches |
2 | 0 | 0 |
meth |
PreparedGeometry.within |
2 | 0 | 0 |
meth |
PreparedGeometry.reduce |
1 | 0 | 0 |
attr |
PreparedGeometry.prepared |
1 | 0 | 0 |
attr |
PreparedGeometry.context |
1 | 0 | 0 |
func |
prep |
2 | 0 | 0 |
shapely.set_operations (49 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
symmetric_difference |
5 | 0 | 0 |
func |
coverage_union_all |
4 | 0 | 0 |
func |
symmetric_difference_all |
4 | 0 | 0 |
func |
intersection_all |
4 | 0 | 0 |
func |
union |
5 | 0 | 0 |
func |
disjoint_subset_union |
4 | 0 | 0 |
func |
intersection |
5 | 0 | 0 |
func |
disjoint_subset_union_all |
4 | 0 | 0 |
func |
union_all |
5 | 0 | 0 |
func |
coverage_union |
4 | 0 | 0 |
func |
difference |
5 | 0 | 0 |
shapely.speedups (2 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
disable |
1 | 0 | 0 |
func |
enable |
1 | 0 | 0 |
shapely.strtree (15 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
STRtree.init |
3 | 2 | 0 |
meth |
STRtree.len |
1 | 0 | 0 |
meth |
STRtree.reduce |
1 | 0 | 0 |
meth |
STRtree.query |
4 | 0 | 0 |
meth |
STRtree.nearest |
2 | 1 | 0 |
meth |
STRtree.query_nearest |
6 | 0 | 0 |
prop |
STRtree.geometries |
1 | 0 | 0 |
shapely.testing (9 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
assert_geometries_equal |
9 | 0 | 0 |
shapely.validation (4 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
make_valid |
2 | 0 | 0 |
func |
explain_validity |
2 | 0 | 0 |
shapely.vectorized (8 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
contains |
4 | 0 | 0 |
func |
touches |
4 | 0 | 0 |
shapely.wkb (16 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
loads |
3 | 0 | 0 |
func |
load |
3 | 0 | 0 |
func |
dump |
5 | 0 | 0 |
func |
dumps |
5 | 0 | 0 |
shapely.wkt (13 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
loads |
2 | 0 | 0 |
func |
load |
2 | 0 | 0 |
func |
dump |
4 | 0 | 0 |
func |
dumps |
5 | 0 | 0 |
Type-Ignore Comments
No type-ignore comments.