Skip to content

Commit

Permalink
Move name and id properties on boundaries back to the common section …
Browse files Browse the repository at this point in the history
…of the docs.
  • Loading branch information
zerebubuth committed Dec 12, 2018
1 parent 6a61e13 commit 4a01b1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ Combination of OpenStreetMap administrative boundaries (zoom >= 8) and Natural E

#### Boundaries properties (common):

* `name`: A suggested label, formed from the left and right region names, if available. If the name appears to be too long to be rendered on the geometry at a particular zoom it may be omitted.
* `id`: Identifier for the feature, only provided at zoom 13+.
* `kind`: mapping of OpenStreetMap's `admin_level` int values to strings like `country` and `state`, plus `aboriginal_lands` boundary type, and also includes normalized Natural Earth values.
* `kind_detail`: mapping of OpenStreetMap's `admin_level` values. `2` for countries, `4` for regions, and `6`, `8` (zoom 10+)
* `source`: `openstreetmap.org` or `naturalearthdata.com`
Expand All @@ -149,8 +151,6 @@ Combination of OpenStreetMap administrative boundaries (zoom >= 8) and Natural E

#### Boundaries properties (common optional):

* `name`: A suggested label, formed from the left and right region names, if available. If the name appears to be too long to be rendered on the geometry at a particular zoom it may be omitted.
* `id`: Identifier for the feature, only provided at zoom 13+.
* `id:left`: For the relation on the left side of the boundary line. This is only provided at zoom 13+.
* `id:right`: For the relation on the right side of the boundary line. This is only provided at zoom 13+.
* `name:left`: See name section above, other variants like `old_name` also supported. _See planned bug fix in [#1102](https://github.com/tilezen/vector-datasource/issues/1102)._
Expand Down

0 comments on commit 4a01b1d

Please sign in to comment.