artemp/trac2github — Issue #702: expose layer_descriptor.get_geometry_type() in feature_layer_descriptor.hpp
Author: artemp
Created: 2011-10-09 20:47:42+00:00
State: open
Labels: Core_Library

It would be great to be able to query a mapnik layer for its geometry_type, and have it report this through its layer_descriptor. This will require setting this descriptor for each plugin (potentially through different methods). Potentially the type should be boost::optional to accommodate situations where geometry type is unknown or features are empty.