kopia lustrzana https://github.com/openmaptiles/openmaptiles
Fix docs in landuse, place and poi
rodzic
5d1d1f1dc7
commit
6ff8fd7c20
|
@ -1,7 +1,7 @@
|
||||||
layer:
|
layer:
|
||||||
id: "landuse"
|
id: "landuse"
|
||||||
description: |
|
description: |
|
||||||
Landuse is used to describe use of land by humans.At lower zoom levels this is
|
Landuse is used to describe use of land by humans. At lower zoom levels this is
|
||||||
from Natural Earth data for residential (urban) areas and at higher zoom levels mostly OSM `landuse` tags.
|
from Natural Earth data for residential (urban) areas and at higher zoom levels mostly OSM `landuse` tags.
|
||||||
buffer_size: 4
|
buffer_size: 4
|
||||||
fields:
|
fields:
|
||||||
|
|
|
@ -14,7 +14,7 @@ layer:
|
||||||
[`admin_level`](http://wiki.openstreetmap.org/wiki/Tag:boundary%3Dadministrative#admin_level)
|
[`admin_level`](http://wiki.openstreetmap.org/wiki/Tag:boundary%3Dadministrative#admin_level)
|
||||||
of the boundary the place is a capital of.
|
of the boundary the place is a capital of.
|
||||||
values: [2, 4]
|
values: [2, 4]
|
||||||
class: |
|
class:
|
||||||
description: |
|
description: |
|
||||||
Original value of the
|
Original value of the
|
||||||
[`place`](http://wiki.openstreetmap.org/wiki/Key:place) tag.
|
[`place`](http://wiki.openstreetmap.org/wiki/Key:place) tag.
|
||||||
|
|
|
@ -13,20 +13,21 @@ layer:
|
||||||
this field will contain the same value as `subclass`.
|
this field will contain the same value as `subclass`.
|
||||||
But for example for schools you only need to style the class `school` to filter the subclasses `school`
|
But for example for schools you only need to style the class `school` to filter the subclasses `school`
|
||||||
and `kindergarten`. Or use the class `shop` to style all shops.
|
and `kindergarten`. Or use the class `shop` to style all shops.
|
||||||
subclass: |
|
subclass:
|
||||||
Original value of either the
|
description: |
|
||||||
[`amenity`](http://wiki.openstreetmap.org/wiki/Key:amenity),
|
Original value of either the
|
||||||
[`leisure`](http://wiki.openstreetmap.org/wiki/Key:leisure),
|
[`amenity`](http://wiki.openstreetmap.org/wiki/Key:amenity),
|
||||||
[`landuse`](http://wiki.openstreetmap.org/wiki/Key:landuse),
|
[`leisure`](http://wiki.openstreetmap.org/wiki/Key:leisure),
|
||||||
[`sport`](http://wiki.openstreetmap.org/wiki/Key:sport),
|
[`landuse`](http://wiki.openstreetmap.org/wiki/Key:landuse),
|
||||||
[`tourism`](http://wiki.openstreetmap.org/wiki/Key:tourism)
|
[`sport`](http://wiki.openstreetmap.org/wiki/Key:sport),
|
||||||
or [`shop`](http://wiki.openstreetmap.org/wiki/Key:shop)
|
[`tourism`](http://wiki.openstreetmap.org/wiki/Key:tourism)
|
||||||
tag. Use this to do more precise styling.
|
or [`shop`](http://wiki.openstreetmap.org/wiki/Key:shop)
|
||||||
|
tag. Use this to do more precise styling.
|
||||||
rank: |
|
rank: |
|
||||||
The POIs are ranked ascending according to their importance within a grid. The `rank` value shows the
|
The POIs are ranked ascending according to their importance within a grid. The `rank` value shows the
|
||||||
local relative importance of a POI within it's cell in the grid. This can be used to reduce label density at z14.
|
local relative importance of a POI within it's cell in the grid. This can be used to reduce label density at *z14*.
|
||||||
Since all POIs already need to be contained at `z14` you can use `less than rank=10` epxression to limit
|
Since all POIs already need to be contained at *z14* you can use `less than rank=10` epxression to limit
|
||||||
POIs. At some point like z17 you can show all POIs.
|
POIs. At some point like *z17* you can show all POIs.
|
||||||
datasource:
|
datasource:
|
||||||
geometry_field: geometry
|
geometry_field: geometry
|
||||||
srid: 900913
|
srid: 900913
|
||||||
|
|
Ładowanie…
Reference in New Issue