preview_track_road_edit
Preview road edits by generating a read-only GeoJSON and element diff, enabling validation before committing changes to OpenStreetMap.
Instructions
Build a non-writing GeoJSON and element diff preview for a road edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| action | Yes | ||
| gpx_xml | No | ||
| gpx_path | No | ||
| segment_id | No | ||
| selection_id | No | ||
| evidence_kind | No | survey_gpx | |
| target_way_ids | No | ||
| changeset_source | Yes | ||
| changeset_comment | Yes | ||
| evidence_provider | No | ||
| evidence_observed_at | No | ||
| simplify_tolerance_m | No | ||
| max_alignment_distance_m | No | ||
| connect_endpoints_to_ways | No | ||
| endpoint_snap_tolerance_m | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |