Skip to content

prepare.lm.done overwritten on load graph #968

Closed

Description

@devemux86

The prepare.lm.done property appears to be overwritten in GraphHopper.loadOrPrepareLM during loading a landmark graph.

The graph properties file has the correct entry prepare.lm.done=true.
Loading the graph and using the getProperties(), the property comes false.

This is probably due to tmpPrepare being false.

Activity

  1. karussell commented on Feb 24, 2017

    @karussell
    Member

    Thanks!

    We should set 'done=true' only if it did some work. The difference here to CH is that CH data is loaded with the graph and for LM we need to load it separately if it was already created.

  2. added this to the 0.9 milestone on Feb 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions