【问题标题】:Request size limit TileSetSource POST请求大小限制 TileSetSource POST
【发布时间】:2021-03-19 21:55:32
【问题描述】:

我正在尝试使用 MTS(Mapbox Tiling Service)api 创建一个 TileSet 源。我正在上传大小为 66MB 的 geojson。它返回错误

https://api.mapbox.com/tilesets/v1/sources/username/TilesetSourceName?access_token=token
{
    "message": "request entity too large"
}

Api documentation 表示每个单独的源文件不得超过 20 GB。

有人知道我为什么会收到这个错误吗?

【问题讨论】:

    标签: mapbox


    【解决方案1】:

    Content-Type 设置不正确。我正在使用 Postman,最近的更新似乎已经破坏了它。 它以前工作得很好。用 curl 试过了,效果很好

    【讨论】:

      猜你喜欢
      • 2012-07-26
      • 2023-03-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-01-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多