coordinatesMIDAS: adds lat/lon coordinates of the loop detectors

Description Usage Arguments Value

Description

each geographic address has a unique lat/lon given in the coordinates data which are extracted from the NTIS model. The coordinates might not necessarily reflect location of measurement sites on pavement. The function adds lat/lon of the specific geographic addresses in the 'midas' object. This could be used in order to plot locations on maps using other map plotting packages/functions.

Usage

1
2
3
coordinatesMIDAS(x, coordinates, 
		geo.address = "Geographic.Address")
	

Arguments

x

object of class midas with geographic address column

coordinates

data.frame with three columns: first is geographic address, second is latitudes, third is longitude

geo.address

character. names of the geographic address column. Default to "Geographic.Address"

Value

'midas' object with lat/lon column added to the traffic.data element


arwasayegh/mdep documentation built on May 20, 2019, 1:27 p.m.