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

Specs

envelope() :: %{
  min_x: number(),
  max_x: number(),
  min_y: number(),
  max_y: number()
}
Link to this type

geometry_type()

Specs

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

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