Add operator:type=public|private|nil
to some highway
presets
#1310
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description, Motivation & Context
See #1304
This is build using a
check
field type and adding custom values to the three check states as described in https://github.com/ideditor/schema-builder?tab=readme-ov-file#strings An existing example of this would be https://github.com/openstreetmap/id-tagging-schema/blob/2375a6b/data/fields/parcel_pickup.jsonThe idea is, that for highways really only those three values (
public
,private
,<novalue>
) are relevant.The field is in
moreFields
so it only shows if data is present or users really look for it.Related issues
Closes #1304
Links and data
See #1304
Relevant tag usage stats:
See #1304
Checklist and Test-Documentation Template
Read on to get your PR merged faster…
Follow these steps to test your PR yourself and make it a lot easier and faster for maintainers to check and approve it.
This is how it works:
After you submit your PR, the system will create a preview and comment on your PR:
Once the preview is ready, use it to test your changes.
Now copy the snippet below into a new comment and fill out the blanks.
Now your PR is ready to be reviewed.