artemp/trac2github — Issue #547: Ability to filter on geometry type
Author: artemp
Created: 2011-10-09 20:39:56+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
}}}