Skip to content

Performance tuning #30

Description

@karussell

Thanks for this library!

I'm currently testing this to create MVT from a graphhopper routing engine storage. If I did nothing wrong your mapbox-vector-tile-java library is already roughly 10 times faster than https://github.com/ElectronicChartCentre/java-vector-tile which is really nice :) !

For bigger tiles fetching the geometry from the graphhopper storage takes around 0.5sec and this produces around 350 000 simple lines (a line going from junction to junction, i.e. with "from" and "to" Coordinate) and converting this into a MVT takes around 4 sec. See the experimental code I use (see update). Usually the lines gets more coordinates and are not just going straight from junction to junction, which I have neglect for now.

Is there a possibility to further improve speed via an index or using a Multiline or something else?

Update: See this work in progress

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions