Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
442 views
in Technique[技术] by (71.8m points)

Mapbox Upload API: minzoom must be an integer between 0 and 30

I've created 3 tilesets using tippecanoe, merged them into one using tile-join, and uploaded the combined tileset using the Mapbox Upload API. The upload was successful, but now I see an error in Mapbox studio:

minzoom must be an integer between 0 and 30

The error message links to a page that does not list this error.

I'm setting max and min zoom in the tippecanoe command. Given the lack of documentation of the error I'm not clear what the issue is.

# Max and min zoom
min_zoom=3
max_zoom=13
#
tippecanoe --maximum-zoom=${max_zoom} --minimum-zoom=${min_zoom} --maximum-tile-bytes=500000 --simplification=10 --no-tile-stats --no-feature-limit --coalesce-densest-as-needed --detect-shared-borders --use-attribute-for-id=GEOID --force -aI -o "./mbtiles/${shape}.mbtiles" -l ${shape} ".${OUTPUT_DIR}/geojson/${shape}.geojson"

Hopefully someone else has run into this before?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...