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