GeoStreamData (geo_stream_data v0.2.0)
A generator for property-based testing of geospatial data.
Link to this section Summary
Link to this section Types
Link to this type
envelope()
Specs
Link to this type
geometry_type()
Specs
geometry_type() :: Geo.Point.t() | Geo.LineString.t() | Geo.Polygon.t() | Geo.MultiPoint.t() | Geo.MultiLineString.t() | Geo.MultiPolygon.t()
Link to this section Functions
Link to this function
geometry(env \\ %{max_x: 180, max_y: 90, min_x: -180, min_y: -90})
Specs
geometry(envelope()) :: StreamData.t(geometry_type())
Link to this function
line_string(env \\ %{max_x: 180, max_y: 90, min_x: -180, min_y: -90})
Specs
line_string(envelope()) :: StreamData.t(Geo.LineString.t())
Link to this function
multi_line_string(env \\ %{max_x: 180, max_y: 90, min_x: -180, min_y: -90})
Specs
multi_line_string(envelope()) :: StreamData.t(Geo.MultiLineString.t())
Link to this function
multi_point(env \\ %{max_x: 180, max_y: 90, min_x: -180, min_y: -90})
Specs
multi_point(envelope()) :: StreamData.t(Geo.MultiPoint.t())
Link to this function
multi_polygon(env \\ %{max_x: 180, max_y: 90, min_x: -180, min_y: -90})
Specs
multi_polygon(envelope()) :: StreamData.t(Geo.MultiPolygon.t())
Link to this function
point(env \\ %{max_x: 180, max_y: 90, min_x: -180, min_y: -90})
Specs
point(envelope()) :: StreamData.t(Geo.Point.t())
Link to this function
point_tuple(env \\ %{max_x: 180, max_y: 90, min_x: -180, min_y: -90})
Specs
point_tuple(envelope()) :: StreamData.t({number(), number()})
Link to this function
polygon(env \\ %{max_x: 180, max_y: 90, min_x: -180, min_y: -90})
Specs
polygon(envelope()) :: StreamData.t(Geo.Polygon.t())