From f5d8dbcd685efb3de0059e692481d014033884d4 Mon Sep 17 00:00:00 2001 From: wildwoosig <115590334+wildwoosig@users.noreply.github.com> Date: Tue, 3 Jan 2023 10:01:05 -0800 Subject: [PATCH] Update points.yml Corrected instances of "path" to "points" to match sample, plus removed note which is relevant for the path parameter in snap to roads, but isn't relevant for nearest roads. Buganizer bug: b/263178829 --- specification/parameters/nearestRoads/points.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/specification/parameters/nearestRoads/points.yml b/specification/parameters/nearestRoads/points.yml index 88de44ab..3aea06fc 100644 --- a/specification/parameters/nearestRoads/points.yml +++ b/specification/parameters/nearestRoads/points.yml @@ -14,8 +14,7 @@ name: points description: | - The path to be snapped. The path parameter accepts a list of latitude/longitude pairs. Latitude and longitude values should be separated by commas. Coordinates should be separated by the pipe character: "|". For example: `path=60.170880,24.942795|60.170879,24.942796|60.170877,24.942796`. -
Note: The snapping algorithm works best for points that are not too far apart. If you observe odd snapping behavior, try creating paths that have points closer together. To ensure the best snap-to-road quality, you should aim to provide paths on which consecutive pairs of points are within 300m of each other. This will also help in handling any isolated, long jumps between consecutive points caused by GPS signal loss, or noise.
+ The points to be snapped. The points parameter accepts a list of latitude/longitude pairs. Separate latitude and longitude values with commas. Separate coordinates with the pipe character: "|". For example: `points=60.170880,24.942795|60.170879,24.942796|60.170877,24.942796`. required: true in: query style: pipeDelimited @@ -23,4 +22,4 @@ explode: false example: ["60.170880,24.942795", "60.170879,24.942796", "60.170877,24.942796"] schema: - $ref: "../../schemas/LatLngArrayString.yml" \ No newline at end of file + $ref: "../../schemas/LatLngArrayString.yml"