Rename POI gridrank to rank
This commit is contained in:
@@ -22,15 +22,15 @@ layer:
|
||||
[`tourism`](http://wiki.openstreetmap.org/wiki/Key:tourism)
|
||||
or [`shop`](http://wiki.openstreetmap.org/wiki/Key:shop)
|
||||
tag. Use this to do more precise styling.
|
||||
gridrank: |
|
||||
The POIs are ranked ascending according to their importance within a grid. The `gridrank` value shows the
|
||||
rank: |
|
||||
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.
|
||||
Since all POIs already need to be contained at `z14` you can use `less than gridrank=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.
|
||||
datasource:
|
||||
geometry_field: geometry
|
||||
srid: 900913
|
||||
query: (SELECT geometry, name, name_en, class, subclass, gridrank FROM layer_poi(!bbox!, z(!scale_denominator!), !pixel_width!)) AS t
|
||||
query: (SELECT geometry, name, name_en, class, subclass, rank FROM layer_poi(!bbox!, z(!scale_denominator!), !pixel_width!)) AS t
|
||||
schema:
|
||||
- ./class.sql
|
||||
- ./layer.sql
|
||||
|
||||
Reference in New Issue
Block a user