# Parsing Mapillary PBF tiles?

**URL:** <https://forum.mapillary.com/t/parsing-mapillary-pbf-tiles/9980>\
**Category:** Imagery, data, and integrations\
**Created:** [October 2, 2025, 12:32pm UTC](https://forum.mapillary.com/t/parsing-mapillary-pbf-tiles/9980 "2025-10-02T12:32:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RavenWorks](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@RavenWorks](https://forum.mapillary.com/u/RavenWorks)\
**Post date:** [October 2, 2025, 12:32pm UTC](https://forum.mapillary.com/t/parsing-mapillary-pbf-tiles/9980/1 "2025-10-02T12:32:56Z")

</div>

When I use the “Coverage Tiles” API, I get a PBF file returned. If I upload this PBF file to mygeodata.cloud, it can return me a JSON with the data that I’m expecting, but I’d like to be able to parse it myself; ideally in C#, but I’d settle for anything that I can call from the command line if necessary.

There’s no shortage of libraries out there that talk about being able to parse PBF files, but they mostly seem to be targeting other platforms like OSM; the few that I’ve tried, when I pass in a PBF returned from the Mapillary API, they just error out. Does anyone have any experience getting this working in practice?

---

<div class="post-metadata">

**Author:** ![nikola](https://avatars.discourse-cdn.com/v4/letter/n/a88e57/32.png) [@nikola](https://forum.mapillary.com/u/nikola)\
**Post date:** [October 6, 2025, 1:14pm UTC](https://forum.mapillary.com/t/parsing-mapillary-pbf-tiles/9980/2 "2025-10-06T13:14:41Z")

</div>

What kind of errors do you get? There are libraries for working with vector tiles available for all languages, here’s one example for C#: [GitHub - NetTopologySuite/NetTopologySuite.IO.VectorTiles: A package that can be used to generate vector tiles using NTS.](https://github.com/NetTopologySuite/NetTopologySuite.IO.VectorTiles?tab=readme-ov-file#read-a-vector-tile)

---

<div class="post-metadata">

**Author:** ![RavenWorks](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@RavenWorks](https://forum.mapillary.com/u/RavenWorks)\
**Post date:** [October 19, 2025, 8:23pm UTC](https://forum.mapillary.com/t/parsing-mapillary-pbf-tiles/9980/3 "2025-10-19T20:23:19Z")

</div>

For example, when I try Mapbox’s “vector-tile-cs” library, I get the message “Exception: unknown wire type”.

NetTopologySuite looks promising, but unfortunately I’m trying to work in Unity, so installing NuGet packages doesn’t really work right; I got pretty far just adding the source to the project manually, but I can’t figure out what Protobuf library it’s using (the Google.Protobuf one seemed to not be what it’s looking for, and the Protobuf-net one seems to be too new to work with this older Unity project…)

---

<div class="post-metadata">

**Author:** ![RavenWorks](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@RavenWorks](https://forum.mapillary.com/u/RavenWorks)\
**Post date:** [August 9, 2026, 12:36am UTC](https://forum.mapillary.com/t/parsing-mapillary-pbf-tiles/9980/4 "2026-08-09T00:36:12Z")

</div>

Sorry to bump an old thread, but in case anybody else runs into this problem: it turns out it was because the data that I was getting back from the request wasn’t a PBF file at all: [API returns "Update Your Browser" instead of PBF files, for some clients?](https://forum.mapillary.com/t/api-returns-update-your-browser-instead-of-pbf-files-for-some-clients/10608)
