Skip to content

typo in src/main/java/com/graphhopper/storage/GraphStorage.java leads to file with wrong name #28

Closed

Description

@ocampana

In line 82 and 95 you refer to egde, not edge.

I noticed this because the edge file generated by osmreader has a wrong name

Activity

  1. karussell commented on Mar 27, 2013

    @karussell
    Member

    What do you mean with "refer to edge, not edge"? Could you point me to the problem via a link or even better with a failing unit test :) ?

  2. agouge commented on Mar 27, 2013

    @agouge

    Here you switch the "d" and the "g".

  3. karussell commented on Mar 27, 2013

    @karussell
    Member

    Hmmh, sorry. I don't get what you mean :(
    What is wrong with these lines 90-92?

    this.nodes = dir.findCreate("nodes");
    this.edges = dir.findCreate("egdes");
    this.geometry = dir.findCreate("geometry");
    
  4. ocampana commented on Mar 27, 2013

    @ocampana
    Author

    the type is egde -> edge, g and d should be swapped

    2013/3/27 Peter [email protected]

    Hmmh, sorry. I don't get what you mean :(
    What is wrong with these lines 90-92?

    this.nodes = dir.findCreate("nodes");
    this.edges = dir.findCreate("egdes");
    this.geometry = dir.findCreate("geometry");

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-15515312
    .

    Non c'è più forza nella normalità, c'è solo monotonia

  5. karussell commented on Mar 27, 2013

    @karussell
    Member

    ... sorry, still I'm stuck - I cannot see "edge", "d" or "g". Or do you mean that nodes, edges and geometry should have a different initialization order? (why?)

  6. agouge commented on Mar 27, 2013

    @agouge

    Just the spelling of the word "edge" is wrong. (No problem with the code itself.) :)

  7. karussell commented on Mar 27, 2013

    @karussell
    Member

    oh my, now I got it! thanks!

  8. agouge commented on Mar 27, 2013

    @agouge

    No problem!

  9. karussell commented on Mar 27, 2013

    @karussell
    Member

    I marked it with breaking as existing installations won't be able to load this graphstorage. in the future a migration utility could be developed for changes like this ...

  10. added a commit that references this issue on Jun 23, 2020
  11. added a commit that references this issue on Jul 10, 2020
  12. added a commit that references this issue on Jan 7, 2025
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions