You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a very large file that needs to be converted to mbtiles (vector) and uploaded to Mapbox via their uploads API. Almost had this working and then the load errored with the message:
Tile exceeds maximum size of 500k at z10. Reduce the detail of data at this zoom level or omit it by adjusting your minzoom.
May need to use Tippecanoe to gain more fine-grained control over the output file.
The text was updated successfully, but these errors were encountered:
After much more work on this, I've figured out a few things that make me think this task should be put on hold until we have the more recent canopy dataset.
The original MB tileset was created via direct upload through their studio interface, and since that time MB has implemented a 300mb limit on direct uploads which is far too small for this dataset (a geojson version is ~15gb). Beyond this, I've figured out that during the processing of the original upload, MB dropped a significant number of features, presumably in order to get under the default size limit of 500kb per tile.
With this in mind, I think the following process is what I recommend going forward, and because it's a bit involved I think it's worth just waiting until we get the new data so that we can do it only one time (these steps could all be done with QGIS or PostGIS, or a combination as needed):
reproject to web mercator
fix geometries
remove all attributes/fields
clip to cook county
run a dissolve operation to reduce overall number of features and vertices
recalculate shape area and add this as a field
tile with tippecanoe
use Uploads API to get the tileset into Mapbox
Here's a screenshot of the style that was applied in the past and should be reapplied to the final layer in the style:
This is a very large file that needs to be converted to mbtiles (vector) and uploaded to Mapbox via their uploads API. Almost had this working and then the load errored with the message:
May need to use Tippecanoe to gain more fine-grained control over the output file.
The text was updated successfully, but these errors were encountered: