Closed boldtrn closed 6 years ago
I am just taking a look. Using our vt-support tools I am not getting an issue. I'll check out master to identify the issue.
I am not getting an issue on master. Perhaps you can check out MvtReaderTest and work from there.
Are you using master branch source or a maven release?
Are you using master branch source or a maven release?
I used 2.0.0 from Maven. Thanks for your tests :). I actually only tested it for VTM and did not test this for this repo exclusively. It works when I just use com.wdtinc.mapbox_vector_tile.adapt.jtsMvtReaderTest
. Furthermore I don't receive any exceptions, but only an empty jtsMvt if I read the file locally. If I use a stream provided by OkHttp, I saw this exception.
For some reason Gradle won't use my local MvnRepo (even though I configured it to do so) where I installed the current master 3.0.0., so I will just wait for 3.0.0 to be released. It's not really important for me at the moment, so it's easier just to wait :). I will close this issue, as it works perfect with the current master.
I am not exactly sure why this happens, but when I try to decode tiles from ThunderForest, I receive an Exception:
I haven't debugged this in greater detail. So I don't know if this an issue from Thunderforest or from this library. Thunderforest specifies that they encode in the MVT schema. But I hadn't had any problems decoding tiles from other providers so far.
Since probably not everyone wants to sign up for a key to try this, I attached one tile from ThunderForest in this issue, downloaded from:
https://tile.thunderforest.com/thunderforest.transport-v1.json?apikey={apikey}
thunderforest.vector.pbf.zip