Skip to content

Mock Point Source

The [MockPointSource] is a source operator that provides mock vector point data for testing and development purposes.

Name Type Description Examples
points array Points to be output by the mock point source.
[{"x":1,"y":2},{"x":3,"y":4}]
spatialBounds SpatialBoundsDerive Defines how the spatial bounds of the source are derived.

Defaults to None.
{"type":"derive"}
{
"type": "MockPointSource",
"params": {
"points": [
{
"x": 1,
"y": 2
},
{
"x": 3,
"y": 4
}
],
"spatialBounds": {
"type": "derive"
}
}
}