getIntersectionRoadNames

fun getIntersectionRoadNames(intersectionFeature: Feature?, roadsFeatureCollection: FeatureCollection): FeatureCollection

Get the road names/ref/road type that make up the intersection. Intersection objects only contain "osm_ids" so we need to hook the osm_ids up with the information from the roads feature collection

Return

A Feature Collection that contains the roads that make up the nearest intersection.

Parameters

intersectionFeature

A single intersection

roadsFeatureCollection

A roads feature collection.