mapnik/mapnik — comment on commit 975afebd87b1736752dc4951e08f1d00c21ce196
File:  line 0
By artemp:

I think we should create a separate function to calculate geometry_type. Also, I'd go for enum instead of std::string. bind() methods are getting very blobby.. In most cases geometry_type is not really relevant as Mapnik works with paths, so lets make it optional :

```
geometry_type query_geometry_type()
{
....
}

void bind()
{
...
if ( really_need_geometry_type)
geometry_type type = query_geometry_type();
...
}
```