mapbox / vector-tile-cs

Parses vector tiles with C#.
BSD 3-Clause "New" or "Revised" License
57 stars 37 forks source link

Un-gzip tiles #2

Closed MateoV closed 8 years ago

MateoV commented 8 years ago

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

springmeyer commented 8 years ago

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.

wilhelmberg commented 8 years ago

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

springmeyer commented 8 years ago

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