wdtinc / mapbox-vector-tile-java

Java Mapbox Vector Tile Library for Encoding/Decoding
Apache License 2.0
147 stars 73 forks source link

Avoid ArrayIndexOutOfBoundsException on coordSeq when there are extra commands than specified in header #53

Open i23098 opened 2 years ago

i23098 commented 2 years ago

This fixes https://github.com/wdtinc/mapbox-vector-tile-java/issues/51

Although it is ignoring the extra commands it will probably load wrong data. Maybe it should return null?