tippecanoe icon indicating copy to clipboard operation
tippecanoe copied to clipboard

Calculated attributes dynamically?

Open dythbj opened this issue 5 years ago • 2 comments

Is it possible to calculated attributes dynamically?For example, The value is relative to the current zoom level? eg: For a same feature,on zoom 10,the value is 5,on zoom 13,the value is 8.

dythbj avatar Jan 09 '20 07:01 dythbj

There is nothing like this currently. The best you can do currently is to use { "tippecanoe": { "minzoom": …, "maxzoom": … } } to supply different versions of the feature that apply at different zoom ranges.

e-n-f avatar Jan 18 '20 01:01 e-n-f

There is nothing like this currently. The best you can do currently is to use { "tippecanoe": { "minzoom": …, "maxzoom": … } } to supply different versions of the feature that apply at different zoom ranges.

Can i request this feature?I think it will be useful,eg: propertyA: $zoom -4

dythbj avatar Mar 09 '20 10:03 dythbj