View source: R/segmentLength.R
segmentLength | R Documentation |
Compute length of road segment.
segmentLength(id = "216-1", distance.unit = "meter")
id |
Character. A concatenation of a street's numeric ID, a whole number between 1 and 528, and a second number used to identify the sub-segments. |
distance.unit |
Character. Unit of distance: "meter", "yard" or "native". "native" returns the map's native scale. See |
An R vector of length one.
segmentLength("242-1") segmentLength("242-1", distance.unit = "yard")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.