LocalData / localdata-tiles

A tileserver for LocalData
5 stars 2 forks source link

Add LineString and Point styles to the legacy stylesheet #131

Open prashtx opened 9 years ago

prashtx commented 9 years ago

Until we upgrade the dashboard to specify layer options explicitly, we need to support LineString and Point data in the legacy stylesheet. Points are not the end of the world, since they do render, but the rendering is not ideal. LineStrings are nearly invisible (or sometimes totally invisible), though, because they just get the stroke styling intended for polygons.

hampelm commented 9 years ago

I went to improve the default walkscope dashboard styles, and it looks like there's no way to directly style linestring data in nodetiles without also changing polygon styles. (Most other implementations only have one geometry type by layer so the selection is implicit)

Not sure how best to handle that. Maybe we could add a meta attribute in nodetiles for styling by geometry type?

hampelm commented 9 years ago

@prashtx writes:

Our nodetiles fork supports styling by geometry using I believe [GEOMETRY=Polygon] or similar. Should be a note in the readme or the commit log.

And indeed there is