Skip to content

Error occur when converting or decoding of mvt-render-test tiles #660

@Salkin975

Description

@Salkin975

When converting MVT tiles and subsequently testing them with the decoder tests, the following errors occur:

TypeError: Cannot read properties of null (reading '0')
 - /src/vector/flat/stringFlatVector.ts:16:28

TypeError: Cannot read properties of null (reading 'length')
 - /src/vector/fsst-dictionary/stringFsstDictionaryVector.ts:102:59

RangeError: byte length of Float64Array should be a multiple of 8
 - /src/encodings/decodingUtils.ts:115:16

Error: Only delta encoding is supported for transforming length to offset streams yet.
 - /src/encodings/integerStreamDecoder.ts:308:15

Error: FastPFor is not implemented yet.
 - /src/encodings/integerDecodingUtils.ts:130:11

I am unable to determine whether this is an issue with the conversion or the decoding process.

The java decoder also seems to fail:

Decoding failed:                                                                                         
org.apache.commons.lang3.NotImplementedException: Not implemented yet.
        at org.maplibre.mlt.decoder.GeometryDecoder.decodeGeometryColumn(GeometryDecoder.java:55)
        at org.maplibre.mlt.decoder.MltDecoder.decodeMltLayer(MltDecoder.java:88)
        at org.maplibre.mlt.decoder.MltDecoder.parseBasicMVTEquivalent(MltDecoder.java:29)
        at org.maplibre.mlt.decoder.MltDecoder.decodeMlTile(MltDecoder.java:42)
        at org.maplibre.mlt.cli.Decode.main(Decode.java:73)

These are the base mvt-tiles as well as the converted mlt-tiles with wich the errors occur

FaultyTiles.zip

@TimSylvester

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions