4 ms·
Yes, exactly. In this case, the script sees that the OSM place tag for all these places is "city", and writes out an object to the vector tile accordingly. So w
by Doctor_Fegg 5y ago
Yes, exactly. In this case, the script sees that the OSM place tag for all these places is "city", and writes out an object to the vector tile accordingly. So what you could do is adapt the script to look at other OSM tags too (e.g. population or capital status), and write out a different object depending on what it finds.
tilemaker's default Lua script has had lots of great incremental improvements from contributors over the last few years, but half of the point, of course, is that you can write your own script which puts exactly what you want in the vector tiles.