Reputation: 1937
Is there a way to download bulk data from Mapbox Tilequery API? I need to download GeoJSON points of buildings in a given area, say the whole San Francisco.
Upvotes: 0
Views: 708
Reputation: 636
The Tilequery API has a limit
parameter which specifies the number of features to return for a given API request. As indicated in the documentation here, the limit
cannot be more than 50, so bulk downloading of feature data is not possible.
It is worth taking a look at the Mapbox Terms of Service, which indicate some limitations on the downloading/caching of Mapbox data. Much of Mapbox building data is provided via OpenStreetMap, so you could instead consider following this guide to use Overpass Turbo to query OpenStreetMap data and extract specific building features in a given area.
Upvotes: 1