Skip to content

Create separate source module for import and core #450

Closed

Description

@karussell

The whole OSM reading stuff should be in a separate source module 'import-osm' which needs a bit refactoring so that we can finally do

hopper = new GraphHopperOSM().setOSMFile(...)
hopper.importOrLoad()

and on Android etc we should be able to avoid setting OSM related stuff and just do:

hopper = new GraphHopper();
hopper.load(ghFolder)

We should use the change to separate OSM better from the core. Furthermore we could easier integrate other readers like #277 and #616.

Activity

  1. changed the title [-]Create separate source for import and core module to avoid hacks for iOS and Android[/-] [+]Create separate source module for import and core to avoid hacks for iOS and Android[/+] on Jun 21, 2015
  2. devemux86 commented on Jun 22, 2015

    @devemux86
    Contributor

    You mean like split into modules for graph creation, perform routing etc. (like the current tools) ?

  3. karussell commented on Jun 22, 2015

    @karussell
    MemberAuthor

    Yes. Just moving the import code out of core, so that Android and iOS does not need to exclude those xml reading stuff. Or if Android at some point implements its, it can just add it as dependency

  4. devemux86 commented on Jun 22, 2015

    @devemux86
    Contributor

    👍
    In mobile platforms the import (aka creation) of graphs is a bit difficult due to device restrictions.

  5. changed the title [-]Create separate source module for import and core to avoid hacks for iOS and Android[/-] [+]Create separate source module for import and core[/+] on Jun 11, 2016
  6. added this to the 0.8 milestone on Jun 12, 2016
  7. devemux86 commented on Jul 17, 2016

    @devemux86
    Contributor

    @karussell nice work!

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions