Scoping Rules (e.g. Usage/Modes in Transportation Segments) #310
Replies: 0 comments 7 replies
|
Thank you for diving into the transportation schema in such detail! As an initial baby step in the right direction, I'm working on an overhaul of the Transportation documentation that I hope will add a lot more detail and hopefully will tackle some of the questions you have raised here. There will be sub-pages dedicated to Scoping Properties ( The work-in-progress docs PR is available here, and I'm hoping to have it done and ready for final review by the end of today: OvertureMaps/schema#14. Once those docs are done, I think there will still be some outstanding questions and issues to discuss within your above comment - mind if I circle back next week to keep the discussion going? |
|
Elizabeth Sall (@e-lo) Would you be willing to check out a draft of some changes to the Transportation schema docs I've been working on? The draft really elaborates on a lot of the concepts like scoped properties, rule-based properties, and when you would use which property. It's not perfect by any means, but I'm wondering if it answers some of your questions and/or leaves you with a different set of questions at the end? This is a link to the draft docs: https://dfhx9f55j8eg5.cloudfront.net/pr/14/themes/transportation/ |
|
The description here is MUCH cleaner and obvious about the expected behavior 🙏
...but I'm concerned about how difficult it will be to at a glance evaluate the intersection of all of these rules in the native data format without tooling and there may be a tendency to just "tack on" a rule at the end b/c it will trump them all w/out carefully curating them. Perhaps that concern is unwarranted and the point of this is to let the 💻 🧠 do their thing and not worry about 🧑🦱 🧠 ? |
|
❓ It's still not clear what the evaluation rule is for parent/child relationships such as |
|
A reference implementation of the rule evaluation either in pseudocode or as a js or python function as well as some sort of viewing/evaluation tool could go along way to providing clarity and alleviating concerns brought about by 🧑🦱 🧠 limitations. |
Uh oh!
There was an error while loading. Please reload this page.
As a user who would like to categorize segments and lanes in cities such as San Francisco, I need to be able to specify requirements (and combinations) such as
My concerns are being able to:
ruleContainerwhich can specify the above and combinations thereof.mode, vsvehiclevsusageCurrent draft definition of
mode:https://github.com/OvertureMaps/schema/blob/874ca4475a58ac8fd0504334c0f9cfc66615b73b/schema/transportation/segment.yaml#L98-L105
Concerns:
vehicle(e.g. bus) andusage(e.g. hov2)taxiortncorcommercial vehicle(which doesn't have to be a truck) could be added...but it isn't clear if that should be here or as a usage option.ruleContainerCurrent draft definition of
usageOption:https://github.com/OvertureMaps/schema/blob/874ca4475a58ac8fd0504334c0f9cfc66615b73b/schema/transportation/segment.yaml#L325-L333
Concerns:
toDeliverincludes to pick something up as well? Does this include picking up and dropping off passengers?atDestinationmeans?Current draft definition of
recognizedOption:https://github.com/OvertureMaps/schema/blob/874ca4475a58ac8fd0504334c0f9cfc66615b73b/schema/transportation/segment.yaml#L334-L342
Concerns:
Current draft definition of
ruleContainer:https://github.com/OvertureMaps/schema/blob/874ca4475a58ac8fd0504334c0f9cfc66615b73b/schema/transportation/segment.yaml#L511-L540
All reactions