Giter VIP home page Giter VIP logo

Comments (8)

devemux86 avatar devemux86 commented on September 21, 2024

Generally I prefer to not complicate the creator script with too many extra variables for each new build process (map / poi / graph) unless it's absolutely necessary.

What is the problem or difficulties with current approach?
GRAPHHOPPER_HOME holds everything GraphHopper related tidy in one place, like OSMOSIS_HOME specifies similarly the dir holding all Osmosis related stuff.

It's nice that GraphHopper can provide now a single jar with dependencies, the old days we had to have a folder with all needed jars, so a generic folder is a future proof approach too.

By the way let's make such discussions in the forum first and if there is need can create issues for features that are agreed to be implemented.

from mapsforge-creator.

boldtrn avatar boldtrn commented on September 21, 2024

It separates the executable part from the configurable part. I don't place my config files in /bin :).

The osmosis configs like the MAP_TRANSFORM_FILE can be placed in a different directory as well. It just makes sense to have these things separate IMHO.

from mapsforge-creator.

devemux86 avatar devemux86 commented on September 21, 2024

It separates the executable part from the configurable part. I don't place my config files in /bin :).

What do you mean?
There isn't anything to put in any bin.
Just create a graphhopper folder (e.g. in home), place inside the latest release's jar and config and are ready to generate graphs.

from mapsforge-creator.

devemux86 avatar devemux86 commented on September 21, 2024

In such a workflow then GRAPHHOPPER_HOME has no real meaning.
Can include instead separate variables for the graphhopper jar and its config file.

from mapsforge-creator.

boldtrn avatar boldtrn commented on September 21, 2024

There isn't anything to put in any bin.

The GraphHopper folder is like a bin, it should contain just an executable jar and should be a different folder than the config. This is true even for the default GraphHopper, where the executeable jar lives in the target folder.

In such a workflow then GRAPHHOPPER_HOME has no real meaning.

Yes, it would be probably better to specify the location of the GraphHopper jar, this would make versioning easier as well probably.

Feel free to close this issue if you don't like it. It makes configuring GraphHopper a bit messy though, because I keep the config separate from the executable and have to copy it to the GraphHopper folder.

from mapsforge-creator.

devemux86 avatar devemux86 commented on September 21, 2024

I need to make some tests and see for a simple implementation without much confusion for the users. GraphHopper versioning would be an added benefit.

from mapsforge-creator.

devemux86 avatar devemux86 commented on September 21, 2024

I pushed the GraphHopper jar / config variables separation.

from mapsforge-creator.

boldtrn avatar boldtrn commented on September 21, 2024

Awesome, that's great, thank you!

from mapsforge-creator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.