Reputation: 302
I have a map with a lot of points (60k). They're spread across 21 separate layers. (It's a demographic scatterplot map.)
I'm exporting to mbtiles with a zoom range of 11-15. The geographic area is around 700 square miles.
I'm only exporting the points, not any underlying basemap. Supposedly, this should only generate a 1-10mb file. But I'm getting a half-hour wait to bake the tiles.
Is that unusual?
Upvotes: 2
Views: 1545
Reputation: 591
30 minute TileMill exports can be on the fast side depending on the size/type of project, but in your case there's probably ways to optimize this much further.
The most important factor is to make sure your data is properly indexed:
shapeindex
command-line utility. (On Ubuntu this is provided by the mapnik-utils
package. I'm not sure about other platforms but it may be included with TileMill already.)USING gist
option.Having everything already projected to Web Mercator (EPSG:3857
) is a good idea too. TileMill is also reasonably well-optimized for EPSG:4326
.
Finally you may want to tweak your buffer and metatile settings, however for a smaller project like this it may not make much difference. If you are only exporting points (without labels) your buffer only needs to be as wide as your largest marker-width (the default buffer-size is 128 pixels). See this guide for more information about when and how to adjust buffers and metatiles.
Upvotes: 6