add second example of usage of bbox token for customization of placement of the geometry query in the PostGIS plugin
This commit is contained in:
parent
c027a4d72b
commit
9cf0a8deca
1 changed files with 10 additions and 2 deletions
12
CHANGELOG
12
CHANGELOG
|
@ -89,13 +89,21 @@ Mapnik 0.7.0 Release
|
||||||
in cases where the subquery limits results, provide a faster and more accurate layer extent. It will have
|
in cases where the subquery limits results, provide a faster and more accurate layer extent. It will have
|
||||||
no effect if the 'table' parameter is simply an existing table. This parameter is false by default. (#456)
|
no effect if the 'table' parameter is simply an existing table. This parameter is false by default. (#456)
|
||||||
|
|
||||||
- PostGIS Plugin: Added 'bbox' token substitution ability in sql query string. This opens the door for various
|
- PostGIS Plugin: Added '!bbox!' token substitution ability in sql query string. This opens the door for various
|
||||||
complex queries that may aggregate geometries to be kept fast by allowing proper placement of the bbox
|
complex queries that may aggregate geometries to be kept fast by allowing proper placement of the bbox
|
||||||
query to be used by indexes. (#415)
|
query to be used by indexes. (#415)
|
||||||
|
|
||||||
* Pass the bbox token inside a subquery like: !bbox!
|
* Pass the bbox token inside a subquery like: !bbox!
|
||||||
|
|
||||||
* e.g. (Select ST_Union(geom) as geom from table where ST_Intersects(geometry,!bbox!)) as map
|
* Valid Usages include:
|
||||||
|
|
||||||
|
<Parameter name="table">
|
||||||
|
(Select ST_Union(geom) as geom from table where ST_Intersects(geometry,!bbox!)) as map
|
||||||
|
</Parameter>
|
||||||
|
|
||||||
|
<Parameter name="table">
|
||||||
|
(Select * from table where geom && !bbox!) as map
|
||||||
|
</Parameter>
|
||||||
|
|
||||||
- PostGIS Plugin: Added 'scale_denominator' substitution ability in sql query string (#415/#465)
|
- PostGIS Plugin: Added 'scale_denominator' substitution ability in sql query string (#415/#465)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue