Closed DenisCarriere closed 6 years ago
Also noticed Intersection had a few discrepancies.
{
"type": "Feature",
"properties": {
"id": "5gRJyF2MT5BBErTyEesQLC",
"osmNodeId": 42460951,
"outboundSegmentIds": ["6mjqqv7YNsp4541DmrrRbV", "jwwKcUvHuCw6GJJAT3mDQ", "2Vw2XzW4cs7r32RLhQnqwA"],
"inboundSegmentIds": ["VmSkhzGKoEc767w98x35La", "VXKSEokmvBJ81XHYhUronG", "B7RPzs3hb1cSXqYcAKmUhE"]
},
"geometry": {
"type": "Point",
"coordinates": [-74.003388, 40.634538]
}
}
message SharedStreetsIntersection {
string id = 1;
uint64 nodeId = 2;
float lat = 3;
float lon = 4;
repeated string inboundReferenceIds = 5;
repeated string outboundReferenceIds = 6;
}
Thanks for catching this! Just merged the commit to update docs (JSON examples now match protobuf names).
Which ones are the correct ones?
startIntersectionId
orfromIntersectionId
? (Geometry)endIntersectionId
ortoIntersectionId
? (Geometry)inboundReferenceIds
orinboundSegmentIds
? (Intersection)outboundReferenceIds
oroutboundSegmentIds
(Intersection)My preference is the README's variable names.
README Geometry
Proto Geometry message