From a19c74d0555436cc53e98469c398811cadc60d13 Mon Sep 17 00:00:00 2001 From: Oliver Tonnhofer Date: Mon, 10 Sep 2018 10:59:30 +0200 Subject: [PATCH] fix mix-up in SQL token documentation --- provider/postgis/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/provider/postgis/README.md b/provider/postgis/README.md index 62b554966..f80d442b9 100644 --- a/provider/postgis/README.md +++ b/provider/postgis/README.md @@ -47,9 +47,9 @@ tablename = "gis.zoning_base_3857" - `sql` (string): [*Required] custom SQL to use use. Required if `tablename` is not defined. Supports the following tokens: - `!BBOX!` - [Required] will be replaced with the bounding box of the tile before the query is sent to the database. `!bbox!` and`!BOX!` are supported as well for compatibilitiy with queries from Mapnik and MapServer styles. - `!ZOOM!` - [Optional] will be replaced with the "Z" (zoom) value of the requested tile. - - `!PIXEL_WIDTH!` - [Optional] scale denominator, assuming 90.7 DPI (i.e. 0.28mm pixel size) - - `!PIXEL_HEIGHT!` - [Optional] the pixel width in meters, assuming 256x256 tiles - - `!SCALE_DENOMINATOR!` - [Optional] the pixel height in meters, assuming 256x256 tiles + - `!SCALE_DENOMINATOR!` - [Optional] scale denominator, assuming 90.7 DPI (i.e. 0.28mm pixel size) + - `!PIXEL_WIDTH!` - [Optional] the pixel width in meters, assuming 256x256 tiles + - `!PIXEL_HEIGHT!` - [Optional] the pixel height in meters, assuming 256x256 tiles `*Required`: either the `tablename` or `sql` must be defined, but not both.