Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added osm tags to metadata tiles #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions proto/sharedstreets.proto
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ enum RoadClass {
Other = 8;
}

message OsmTag {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be tied to OSM? I'm wondering if the same concept of a metadata blob could apply to other datasets just as effectively.

string key = 1;
string value = 2;
}

message WaySection {
uint64 wayId =1 ;

Expand All @@ -39,6 +44,8 @@ message WaySection {
repeated uint64 nodeIds = 6;

string name = 7; // name only stored here if different for each way section, otherwise captured in OSMMetadata

repeated OsmTag tags = 8; // osm tags
}

message OSMMetadata {
Expand Down