Comments (8)
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.
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.
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.
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.
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.
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.
I pushed the GraphHopper jar / config variables separation.
from mapsforge-creator.
Awesome, that's great, thank you!
from mapsforge-creator.
Related Issues (20)
- Automatically update/download the coastlines HOT 4
- Skip map generation if map exists and is newer than X days HOT 6
- Check if generated map file is within size range HOT 2
- Mapsforge maps v5 HOT 1
- Use multiple threads to increase performance HOT 3
- shape2osm.py not produce multiple osm
- Automatically update/download the data HOT 1
- poly2bb invalid coordinates
- v4 map builds: add languages for each region HOT 2
- TagTransform support in map writer HOT 6
- Corrupted PBF download not detected HOT 2
- Write map file to $DATA area HOT 5
- Separate $DATA area by version HOT 5
- Use https for Geofabrik? HOT 4
- Add machine-readable JSON index of all files on download.mapsforge.org HOT 2
- openstreetmapdata.com is gone HOT 1
- GraphHopper
- Wget no-verbose
- Zip is required HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapsforge-creator.