mapbox / tippecanoe

Build vector tilesets from large collections of GeoJSON features.
BSD 2-Clause "Simplified" License
2.73k stars 431 forks source link

Correct procedure for serving tileset from S3 #974

Closed 7091lapS closed 1 year ago

7091lapS commented 1 year ago

Hi, I'm trying to create a tileset from a big geojson file and to serve it directly from s3. The pbf files get created (I can view them in Qgis) but when I load the tileset in mapbox I get these errors:

Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
    at kh.url (tile_id.js:32:1)
    at Ie.loadTile (vector_tile_source.js:215:1)
    at sy._loadTile (source_cache.js:151:1)
    at sy._addTile (source_cache.js:766:1)
    at sy._updateRetainedTiles (source_cache.js:632:1)
    at sy.update (source_cache.js:534:1)
    at Ie.<anonymous> (source_cache.js:74:1)
    at Ie.fire (evented.js:129:1)
    at vector_tile_source.js:125:1
    at s (load_tilejson.js:27:1)

tile_id.js:32 Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
    at kh.url (tile_id.js:32:1)
    at Ie.loadTile (vector_tile_source.js:215:1)
    at sy._loadTile (source_cache.js:151:1)
    at sy._addTile (source_cache.js:766:1)
    at sy._updateRetainedTiles (source_cache.js:632:1)
    at sy.update (source_cache.js:534:1)
    at Qt._updateSources (style.js:1698:1)
    at Map._render (map.js:3224:1)
    at map._render (mapbox.ts:561:1)
    at map.js:3578:1

My current process has been this:

Any help would be much appreciated, thanks!