mapbox/vector-tile-cs

Un-gzip tiles

MateoV opened this issue · 3 comments

When requesting tiles over the network we will need to un-gzip them.

Look at https://msdn.microsoft.com/en-us/library/system.io.compression.gzipstream(v=vs.110).aspx

Per https://github.com/mapbox/mapbox-sdk-unity/issues/42#issuecomment-255478757 I think this should be avoided / is out of scope for this decoder.

System.IO.Compression.GZipStream doesn't work with Unity, see top of issue linked by @springmeyer

Sounds like we are in agreement that decompression should be handled before decoding and therefore vector-tile-cs will not automatically handle decompression. Closing this, then we'll track remaining work at https://github.com/mapbox/mapbox-sdk-unity/issues/42