AliFlux / VectorTileRenderer

A comprehensive Vector Map Tile Renderer for .Net/C#
MIT License
183 stars 51 forks source link

Vector Tile Library #3

Closed pauldendulk closed 6 years ago

pauldendulk commented 6 years ago

I see you have a reference to Bert Temmes vector tile library but actually use the vector tile library developed by mapbox. What is the reason you switched to the mapbox one? Any problems you ran into?

AliFlux commented 6 years ago

I started with Bert's library. But when the project was completed, I did some thorough benchmarking. Apparently the mapbox's vector tile parsing library is considerably faster than Bert's.

pauldendulk commented 6 years ago

Okay, thanks for the info. Perhaps Bert's geojson step is taking too much time.

AliFlux commented 6 years ago

Or it could be the protobuf-net, the library that is decoding pbf files. Can't say for sure until the profiling is done.

pauldendulk commented 6 years ago

Do you know what the mapbox library is using for the decoding?

Do you know if there are plans to use msgpack instead of protobuf at some point?

AliFlux commented 6 years ago

Mapbox library is doing decoding by itself, without dependencies. And I don't think there are plans to port it from protobuf, because its a pretty stable format and backed by Google.