mapbox / geobuf

A compact binary encoding for geographic data.
ISC License
967 stars 84 forks source link

How to load encoded pbf into Mapbox #125

Open yecb opened 2 years ago

yecb commented 2 years ago

This might not be the right place to ask this question. But I've got stuck with this. The pbf has been generated successfully based on a geojson (FeatureCollections), but failed to be loaded into Mapbox as a vector layer. I have no idea about the 'source-id' which seems to be required. Thanks to anyone could help.

bernatfortet commented 1 year ago

@yecb I have the same issue. Did you end up figuring it out? I'm using source-layer: data and the error changes, so maybe there's a default source layer name?