Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 632 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 632 Bytes

shapely-pydantic

from shapely_pydantic import Point
from shapely_pydantic import MultiPoint
from shapely_pydantic import LineString
from shapely_pydantic import MultiLineString
from shapely_pydantic import Polygon
from shapely_pydantic import MultiPolygon
from shapely_pydantic import LinearRing
from shapely_pydantic import GeometryCollection


class Shapely_Model_Demo(BaseModel):
    point: Point
    multipoint: MultiPoint
    linestring: LineString
    multilinestring: MultiLineString
    polygon: polygon
    multipolygon: MultiPolygon
    linearring: LinearRing
    geometrycollection: GeometryCollection