kopia lustrzana https://github.com/openmaptiles/openmaptiles
![]() This adds a field called `official` to `highway={path,footway,cycleway,bridleway}` features in the `transportation` layer. The field's value is: - `0` if the OSM element is tagged `informal=yes` - `1` if the feature has an `operator` in OSM (or is tagged `informal=no`) - unset otherwise (this is the large majority of cases in the data today, especially when considering sidewalks, bike lanes, etc that aren't typically tagged with an `operator`). **Questions I have about whether this PR is correct:** 1. The `official` field is conceptually an optional boolean. I chose to make it an `int` because I saw that existing boolean fields in the tiles (e.g. `intermittent` on waterways, `toll` on roads) have been implemented as 0/1 integers. Is this the right type for this field? 2. I added `description` and `values` fields to the transportation layer's `mapping.yaml` file. Is there anything else I should do to document this new field? Not sure how the schema docs on opentrailmap.org are built, but I am assuming they're generated from these mapping files somehow. |
||
---|---|---|
.. | ||
README.md | ||
class.sql | ||
etl_diagram.png | ||
highway_name.sql | ||
mapping.yaml | ||
mapping_diagram.png | ||
network_type.sql | ||
style.json | ||
transportation.sql | ||
transportation.yaml | ||
update_route_member.sql | ||
update_transportation_merge.sql |
README.md
transportation
Docs
Read the layer documentation at http://openmaptiles.org/schema#transportation