Skip to content

Support metatiling #205

Closed
Closed

Description

@yhahn

But we don't know much about this at this point other than that it is a lot slower than tilecache. We need to investigate before we know what to fix.

  1. Is it slow with all maps, complex ones or simple ones? Are there particular shapefiles that slow it down?
  2. Is it slow to render or slow to do MBTiles insertion/generation (e.g. key generation)
  3. Is the speed affected by the zoom level in some way?
  4. Would meta tiling help here and by how much?

Activity

  1. onyxfish commented on Feb 16, 2011

    @onyxfish

    I noticed this as well. I first used TileMill to generate an MBTiles file and then switched to generating tiles with a modified OSM tile generation script and the process was much faster. (Note this may be due to multi-threading, but I would expect TileMill is leveraging that as well.)

  2. yhahn commented on Feb 20, 2011

    @yhahn
    ContributorAuthor

    Ok, some initial investigation

    https://gist.github.com/835758

    • tilelive.js is faster than vanilla tilecache and metatiling tilecache from z0-8.
    • tilecache with metatiling seems to be "catching up" to tilelive.js as zoom levels increase

    However I found a "bug" (originally intended as a feature) that caused all tiles to be rendered even for limited bounding boxes if low zoom levels like 0 or 1 were included. Fixed here:

    mapbox/tilelive@96e51a8

    Next steps: more benchmarks for higher zoom levels, will let us know whether metatiling eventually beats out tilelive.js

  3. yhahn commented on Feb 21, 2011

    @yhahn
    ContributorAuthor

    After discussion with AJ it sounds like we should run benchmarks against considerably more complex shapefiles and/or maps with many shapefile datasources. Basically metatiling is going to start kicking butt as datasource access time becomes more costly in relation to image render time.

  4. yhahn commented on Jul 21, 2011

    @yhahn
    ContributorAuthor

    This is enabled in the bones branch with metatile size 4. I tried 8 but it almost took my machine down. Needs testing, especially with a variety of data sets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions