__init__.py 763 B

123456789101112131415161718192021222324252627
  1. """Geometry classes and factories."""
  2. from shapely.geometry.base import CAP_STYLE, JOIN_STYLE
  3. from shapely.geometry.collection import GeometryCollection
  4. from shapely.geometry.geo import box, mapping, shape
  5. from shapely.geometry.linestring import LineString
  6. from shapely.geometry.multilinestring import MultiLineString
  7. from shapely.geometry.multipoint import MultiPoint
  8. from shapely.geometry.multipolygon import MultiPolygon
  9. from shapely.geometry.point import Point
  10. from shapely.geometry.polygon import LinearRing, Polygon
  11. __all__ = [
  12. "CAP_STYLE",
  13. "JOIN_STYLE",
  14. "GeometryCollection",
  15. "LineString",
  16. "LinearRing",
  17. "MultiLineString",
  18. "MultiPoint",
  19. "MultiPolygon",
  20. "Point",
  21. "Polygon",
  22. "box",
  23. "mapping",
  24. "shape",
  25. ]