Comments (9)
I agree my current policy of updates of profile folders is for historical reasons rather weird. I may rewrite the batch file to automatically make copies to mainprofiles. I rather avoid symlinks as it may cause sync troubles.
Linux Bash script generator is for now rather nice to have topic on future features list, as I am better in Windows batch files than in Bash scripts.
Until now, mainprofiles generation was rather avoided not to create impression foot/car profiles were updated as well.
from brouter-profiles.
Well, you are right. I was focused mainly on users.
I will consider to create a developer wiki page.
About issues, development and FR related to profile template, the best is to put them to template development repos.
To Brouter-profiles repo belong topics about end profile deployment policy, generation of new profiles from templates,
special requests not possibly done with regular template, auxiliary files questions etc.
from brouter-profiles.
Initial versions:
https://github.com/poutnikl/Brouter-profiles/wiki/Contribution-tips
https://github.com/poutnikl/Brouter-profiles/wiki/Profile-developer-notes
from brouter-profiles.
You are generally right these profile should match,
IF they are generated from the same profile template. The template version should be included in the profile header comments.
Main and dedicated profiles are generated by the separated script runs
and manually included.
It may happen the runs used different template version.
So the question should rather be, what is the difference between template versions
This should be mentioned in the template history, or in the template repository(not handy to investigate now, being on phone access).
from brouter-profiles.
You are generally right these profile should match, IF they are generated from the same profile template.
Ok!
This is the issue I guess, MainProfiles
are version 2.5.6 BETA
. BikeProfiles
folder are 2.6.*
.
Main and dedicated profiles are generated by the separated script runs and manually included.
Ok! That does not seem super easy to maintain, having a script to generate the content of this repo directly might be useful as an improvement. So, the conclusion is that user eager to get the latest version should build from the dedicated sub-repositories, if I understood correctly.
As a side note, (as a newcomer) I feel that additional documentation on this might be a nice addition. It is a bit confusing when arriving first to this repo to find out which version of the templates is expected to be the most updated. I can write a PR for this if you think that's worth adding to the README.
Thanks!
from brouter-profiles.
In fact, it is easy. All the development is done in respective github repositories for car/bike/hiking profile templates.
The Brouter profiles repository serves more or less as a featured cloud storage with history.
Users are not supposed to do any actions but download presented profiles and read the wiki.
Http://GitHub.com/poutnikl/Brouter-profiles/wiki
The README file is intentionally kept with minimal content, merely just pointing to the repository wiki(*) and related projects. I may add version info to the README as a quick orientation
(*) Therefore independent file and wiki repositories can be updated independently.
I generate new versions of the end user profiles only occasionally.
The script runs locally, with parameters to generate either full set of car/bike/foot profiles, either selected subset for all-aka mainprofiles. It downloads the master version of template and by the simple string substitution creates locally the profiles.(*)
Then by git command, the remote GitHub profile repository is updated.
(*) This can be done by an advanced user as well, Regular it sets need not to bother.
from brouter-profiles.
So, the conclusion is that user eager to get the latest version should build from the dedicated sub-repositories, if I understood correctly
Rather, either to download the master ( or even develop branch) template manually and manually tweak template to get particular profile or their custom one,
Either run the batch ( launching legend in the file or when run without parameters) to generate the profile set locally.
As not all template master branch updates are necessarily reflected by new profile versiona generation.
from brouter-profiles.
The Brouter profiles repository serves more or less as a featured cloud storage with history.
Users are not supposed to do any actions but download presented profiles and read the wiki.
Http://GitHub.com/poutnikl/Brouter-profiles/wiki
For sure, for users. But developpers, they might want to have a quick intro with getting started and orientations :)
In my particular case, I was setting up a BRouter instance with a few modifications and was trying to get an overview of available BRouter profiles around there with their specifities. Very soon, it is easy to get completely overwhelmed by the quantity of profiles around with slight differences :)
Same thing stands for issues. I was willing to open an issue (poutnikl/Trekking-Poutnik#23) and did not know whether it should go on the BRouter-profiles
repo (where I got the files from initially) or on the Trekking-profiles
repo (where the development is actually made).
The README file is intentionally kept with minimal content, merely just pointing to the repository wiki(*) and related projects. I may add version info to the README as a quick orientation
Sure. The wiki has a lot of details about the profiles and their use case, that's really amazing (from a user perspective)! But finding developper-oriented infos is a bit difficult (basically what you told me in this issue) :) Thanks a lot for the explanations!
from brouter-profiles.
@Phyks The bash script sedbatch, running in termux/Android, already works with git, producing zipped profile packages in my BRouter data folder. With a command modifier parameter, it could make the respective commit and push to the Github.
To be implemented. :-) But as the repository is not updated very often, it is not a big deal to commit/push profiles manually.
from brouter-profiles.
Related Issues (20)
- Not avoiding an unpleasant way HOT 3
- cost for routing over "ford" HOT 16
- Profile Hiking/Trekking near nature HOT 17
- Missing route types used in Budapest HOT 13
- traffic_calming nodes not evaluated for cost factor HOT 3
- sidewalk HOT 1
- Missing Commuting profile HOT 2
- Electric bicycle trailer for children HOT 16
- Profiles do not contain expressions for context way (error Osmand 2019/07) HOT 6
- Brouter-profile for touring cyclists with luggage -> long-distance travel HOT 7
- > a script to generate the content of this repo directly might be useful. HOT 1
- Ascent in hiking profile HOT 12
- Avoiding yield/stop signs HOT 7
- Road-race bike profile with 5=No-Flats mode HOT 2
- Ignore bicycle=use_sidepath ways HOT 3
- Add penalty for railway crossings?! HOT 2
- Trekking-dry and other profiles select 16%+ descent on grade2 track HOT 4
- profile=hiking-mountain routes over way with foot=no
- Cross-country skiing profile for Android app
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 brouter-profiles.