Open ian29 opened 10 years ago
y it's not perfect given mixed geometry types but I think mapnik attempts to detect this atm based on the first feature in the ds.
Noting: currently geometry type detection against vector tiles is a no-op: https://github.com/mapbox/mapnik-vector-tile/blob/6ed7f9f8495bf04e13808e068125a543a53280bf/src/vector_tile_datasource.hpp#L366-L369
As more people start using vt sources that they did not create, indicating which type of geometry (point/line/polygon/geometry/raster) is contained in each layer will make styling more straightforward.
this can be as simple as the geometry icons in tilemill:![](http://cl.ly/image/3b3K2J27341z/Image%202014-07-23%20at%2012.30.03%20PM.png)