[OSM-talk] TileMill performance
Steve Bennett
stevagewp at gmail.com
Wed Feb 27 21:17:19 UTC 2013
On Thu, Feb 28, 2013 at 4:09 AM, AJ Ashton <aj.ashton at gmail.com> wrote:
>> (eg, is [zoom>13] { #ways[...] } slower/faster than #ways[...][zoom>13] ?)
>
> Does your layer setup actually looks like this? ie. one 'ways' layer pulling
> in the entire planet_osm_ways table? If so this will be problematic. Unlike
> MapCSS, filtering out objects with CartoCSS will not prevent them from being
> loaded. With Mapnik/TileMill you should be querying specific thematic
> subsets of the database for each layer.
Ah. Yes, #ways is the whole table - although it's just one city.
That's probably my problem. So, I guess I should set up individual
queries (#bikepaths, #parks, ...) using PostGIS to do the filtering
rather than Mapnik. That makes sense, thanks!
Steve
More information about the talk
mailing list