-
Notifications
You must be signed in to change notification settings - Fork 13
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
Adding custom tags to ways and nodes #103
base: master
Are you sure you want to change the base?
Adding custom tags to ways and nodes #103
Conversation
1735a47
to
be51a92
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #103 +/- ##
==========================================
+ Coverage 81.05% 82.50% +1.44%
==========================================
Files 15 15
Lines 1151 1183 +32
==========================================
+ Hits 933 976 +43
+ Misses 218 207 -11 ☔ View full report in Codecov by Sentry. |
77be6a4
to
16cf6d2
Compare
The goal of this change is to allow users to add custom tags to the OSM graph. MM 3rd network file in this agreed format will contain OSM tags together with vicmap tags and custom tags. In this pr I add functions to add custom tags to the tags dictionary for ways and nodes. This will only be done if the user provides the dictionary filter to specify which custom tags to ingest. For example, given the following sample file structure:
to ingest selected vmt_tags and custom_tags the user needs to provide the following dictionary as the function input:
|
16cf6d2
to
3def3b4
Compare
When user provides a dictionary that contains the names of custom tags that need to be ingested those tags are added to ways and nodes.