mapnik-org/mapnik — Issue #544: Ability to filter on geometry type
Author: artemp
Created: 2011-10-11 08:01:11+00:00
State: open
Labels: Agg_Renderer

Would be useful to be able to filter by geometry type or properties at the Rule level to have better control over which symbolizers apply to which features:

{{{
{geometry_type} = point
}}}

or, maybe grab all polygons like:
(http://docs.djangoproject.com/en/dev/ref/contrib/gis/gdal/#django.contrib.gis.gdal.OGRGeometry.dimension)
{{{
{coord_dims} >= 3
}}}

All 3d or 4d geometries
(http://docs.djangoproject.com/en/dev/ref/contrib/gis/model-api/#dim)
{{{
{geom_dims} >= 3
}}}

Lots of potential syntax possible:
{{{
dim([the_geom]) >= 3
}}}