name | type | description |
---|---|---|
matched_points |
Array<Array<Number>> |
Coordinates the points snapped to the road network as latitude, longitude pairs. |
indices |
Array<Number> |
Array that gives the indices of the matched coordinates in the original trace. |
geometry |
String |
Geometry of the matched trace in the road network, compressed as a polyline with 6 decimals of precision. |
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Speed limit,Street Type,Cnn,From Street,Street name,Objectid,To Street,latitude,longitude | |
0.0,ST,12160001.0,HOWARD ST,STEUART,1.0,END: 200-249 BLOCK,37.7918157176199,-122.391414391278 | |
0.0,AVE,3380002.0,BURNETT NORTH AVE,BURNETT,2.0,GARDENSIDE DR,37.7559687112087,-122.444352021152 | |
0.0,AVE,3380001.0,TWIN PEAKS BLVD,BURNETT,3.0,BURNETT NORTH AVE,37.7564828576652,-122.445717745424 | |
0.0,ST,7797002.0,03RD ST,KEITH,4.0,BAY SHORE BLVD,37.7189123851496,-122.398804155042 | |
0.0,ST,7797001.0,LE CONTE AVE,KEITH,5.0,03RD ST,37.7191905390652,-122.398567045833 | |
0.0,ST,233202.0,LE CONTE AVE,03RD,6.0,KEITH ST,37.7185585831051,-122.39809232897 | |
0.0,AVE,5117000.0,START: 1700-1798 BLOCK,EGBERT,7.0,NEWHALL ST,37.7265550704082,-122.398298222597 | |
0.0,AVE,20004000.0,BURNETT AVE,BURNETT NORTH,8.0,IRON ALY,37.7566571571684,-122.444730211915 | |
0.0,WAY,14012000.0,START: 0-99 BLOCK,ARGENT,9.0,END: 0-99 BLOCK,37.7527986838241,-122.44331086519 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var savePixels = require('save-pixels') | |
var zeros = require('zeros') | |
var d3 = require('d3') | |
var chance = new require('chance')() | |
var pic = zeros([512,512,3]) | |
var nx = pic.shape[0] | |
var ny = pic.shape[1] | |
var nz = pic.shape[2] | |
var palette = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## `match` | |
Matches given coordinates to the road network | |
### Parameters | |
* `loc` **`[String]`** Location of the point. (optional, default `52.542648,13.393252`) | |
* `t` **`[String]`** Timestamp of the preceding point. (optional, default `1424684612`) | |
* `geometry` **`[Boolean]`** Return route geometry. (optional, default `true`) | |
* `classify` **`[Boolean]`** Return a confidence value for this matching. (optional, default `false`) |
Matches given coordinates to the road network
loc
[String]
Location of the point. (optional, default52.542648,13.393252
)t
[String]
Timestamp of the preceding point. (optional, default1424684612
)geometry
[Boolean]
Return route geometry. (optional, defaulttrue
)classify
[Boolean]
Return a confidence value for this matching. (optional, defaultfalse
)
Matches given coordinates to the road network
loc
[String]
Location of the point. (optional, default52.542648,13.393252
)t
[String]
Timestamp of the preceding point. (optional, default1424684612
)geometry
[Boolean]
Return route geometry. (optional, defaulttrue
)classify
[Boolean]
Return a confidence value for this matching. (optional, defaultfalse
)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## `` | |
Matches given coordinates to the road network | |
### Parameters | |
* `loc` **`[String]`** Location of the point. (optional, default `52.542648,13.393252`) | |
* `t` **`[String]`** Timestamp of the preceding point. (optional, default `1424684612`) | |
* `geometry` **`[Boolean]`** Return route geometry. (optional, default `true`) | |
* `classify` **`[Boolean]`** Return a confidence value for this matching. (optional, default `false`) |
Matches given coordinates to the road network
loc
[String]
Location of the point. (optional, default52.542648,13.393252
)t
[String]
Timestamp of the preceding point. (optional, default1424684612
)geometry
[Boolean]
Return route geometry. (optional, defaulttrue
)classify
[Boolean]
Return a confidence value for this matching. (optional, defaultfalse
)
Matches given coordinates to the road network
loc
[String]
Location of the point. (optional, default52.542648,13.393252
)t
[String]
Timestamp of the preceding point. (optional, default1424684612
)geometry
[Boolean]
Return route geometry. (optional, defaulttrue
)classify
[Boolean]
Return a confidence value for this matching. (optional, defaultfalse
)