3 ms·
Are the lua scripts where you'd customise what gets filtered and kept? The demo map on the website shows 'City of Westminster' where I'd expect London, 'Salford
by stereo 5y ago
Are the lua scripts where you'd customise what gets filtered and kept? The demo map on the website shows 'City of Westminster' where I'd expect London, 'Salford' in Manchester, and 'Wolverhampton' in Birmingham.
- Doctor_Fegg 5y agoYes, 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.