diff --git a/proposals/vector_to_random_points.json b/proposals/vector_to_random_points.json index e71c5c6e..7076e6d6 100644 --- a/proposals/vector_to_random_points.json +++ b/proposals/vector_to_random_points.json @@ -1,7 +1,7 @@ { "id": "vector_to_random_points", "summary": "Sample random points from geometries", - "description": "Generate a vector data cube of points by sampling random points from input geometries. At least one point is sampled per input geometry.\n\nThrows a `CountsMissing` exception if `geometry_count` and `total_count` are both unrestricted (i.e. set to `null`).", + "description": "Generate a vector data cube of points by sampling random points from input geometries. At least one point is sampled per input geometry. Vector properties are preserved.\n\nIf `geometry_count` and `total_count` are both unrestricted (i.e. set to `null`, which is the default), one sample per geometry is used.", "categories": [ "cubes", "vector" @@ -24,9 +24,9 @@ }, { "name": "geometry_count", - "description": "The maximum number of points to compute per geometry. Defaults to a maximum of one point per geometry.\n\nPoints in the input geometries can be selected only once by the sampling.", + "description": "The maximum number of points to compute per geometry.\n\nPoints in the input geometries can be selected only once by the sampling.", "optional": true, - "default": 1, + "default": null, "schema": [ { "type": "integer", @@ -56,7 +56,7 @@ }, { "name": "group", - "description": "Specifies whether the sampled points should be grouped by input geometry (default) or be generated as independent points.\n\n* If the sampled points are grouped, the process generates a `MultiPoint` per geometry given. Vector properties are preserved.\n* Otherwise, each sampled point is generated as a distinct `Point` geometry. Vector properties are *not* preserved.", + "description": "Specifies whether the sampled points should be grouped by input geometry (default) or be generated as independent points.\n\n* If the sampled points are grouped, the process generates a `MultiPoint` per geometry given which keeps the original identifier.\n* Otherwise, each sampled point is generated as a distinct `Point` geometry with a identifier.", "optional": true, "default": true, "schema": { @@ -84,9 +84,6 @@ } }, "exceptions": { - "CountsMissing": { - "message": "No maximum count is set per geometry and in total." - }, "CountMismatch": { "message": "The total number of points is lower than the number of geometries." } diff --git a/proposals/vector_to_regular_points.json b/proposals/vector_to_regular_points.json index e5000361..8dabc2d1 100644 --- a/proposals/vector_to_regular_points.json +++ b/proposals/vector_to_regular_points.json @@ -1,7 +1,7 @@ { "id": "vector_to_regular_points", "summary": "Sample regular points from geometries", - "description": "Generate a vector data cube of points by sampling regularly-spaced points from input geometries.", + "description": "Generate a vector data cube of points by sampling regularly-spaced points from input geometries. Vector properties are preserved.", "categories": [ "cubes", "vector" @@ -32,7 +32,7 @@ }, { "name": "group", - "description": "Specifies whether the sampled points should be grouped by input geometry (default) or be generated as independent points.\n\n* If the sampled points are grouped, the process generates a `MultiPoint` per geometry given. Vector properties are preserved.\n* Otherwise, each sampled point is generated as a distinct `Point` geometry. Vector properties are *not* preserved.", + "description": "Specifies whether the sampled points should be grouped by input geometry (default) or be generated as independent points.\n\n* If the sampled points are grouped, the process generates a `MultiPoint` per geometry given which keeps the original identifier.\n* Otherwise, each sampled point is generated as a distinct `Point` geometry with a identifier.", "optional": true, "default": true, "schema": {