title: exceeding url limit with geojson
body: <p>I want to change geojson for styling my static image but when I change the properties and send a request to mapbox API it gives an error like &quot;Max retries exceeded with url&quot;. How can I simplfy my geojson in python?</p>
  <pre><code>bend = {
        &quot;type&quot;: &quot;FeatureCollection&quot;,
        &quot;features&quot;: [
          {
            &quot;type&quot;: &quot;Feature&quot;,
            &quot;properties&quot;: {every parameter gives error if i fill here.},
            &quot;geometry&quot;: {
              &quot;type&quot;: &quot;LineString&quot;,
              &quot;coordinates&quot;: [
                [
                  33.299560546875,
                  38.79851374178721
                ],
                [
                  33.36822509765625,
                  38.720876195817276
                ]
              ]
            }
          }
        ]
      }
  </code></pre>
  <p>Here is the warning from mapbox API:</p>
  <p>Using a large GeoJSON object as an argument to the overlay parameter may result in hitting the 8,192 byte URL length limit. <a href="https://docs.mapbox.com/api/maps/#overlay-options" rel="nofollow noreferrer">see More</a></p>