zbycz / routing-thesis

Minimizing elevation gain using Routino route planner
4 stars 0 forks source link

new repo for routino modifcations #1

Open ocivelo opened 10 years ago

ocivelo commented 10 years ago

Hello, My name is Christophe (Saint-Etienne, France) I have created a new repository for routino modifications. read the comments below to understand why .
https://github.com/ocivelo/routino-2.6-bikeopposite-elevation/compare/bo-e...master

The first modif. is to take into account openstreetmap way tag : cycleway = opposite_lane the bikes are autorized to take a oneway street in the two directions.

The second modif. is to use quickest route research in order to avoid big elevation ways for bikes. first, it uses the tag : incline to fix % of elevation of a way; if not defined, it uses NASA srtm data to fix elevation of each segment. the srtm part is inspired from Pavel Zbytovský (https://github.com/zbycz/routino/commit/30e8eb086aab1f3724da2f2319caf9f7efdc5e46) The duration calculated for bikes is just an indication and has no purpose to be accurate. corrections have been made on Pavel algorithm to make it work correctly .

Why the choice to create a new repository ? because I m new in using Github, so I didn't know how to contribute on Pavel own repo. because of the use of the ultimate version of routino available (2.6) because the first modifications (opposite_lane and incline tags) were made before knowing of Pavel contribution. because It's not using modifications on profile parameters (ie hills and Lengh) made by Pavel.

because There is some not english language stuff in Pavel repository that I don't understand.

zbycz commented 10 years ago

wow, this is so cool !

I know my code was put together very dirtily, so i was considering rewriting the routino part, but didnt have the time to do it. This way its much better, because you understand the code best and could have base on my work.

I also know my algorithm was lame, and your modifications are the same I thought of :-)

The creation of new respository is for the best, because you are the maintiainer, so you should have the code in your namespace. I will try to run this new routino as a service for the czech republic, once its done I let you know :-)

Thanks and have a nice day! P.

ocivelo commented 10 years ago

Hello Pavel, I have made a correction taking into account differently elevation for supersements and I have changed the duration function to obtain the real speed used and output it in full text file.

It would be more precise with the data from German Aerospace Center but the data format if much more complex and I haven't got the algorithme to use it. (SRTM XSAR DEM DTED-Format)

http://www.dlr.de/eoc/en/Portaldata/60/Resources/dokumente/7_sat_miss/SRTM-XSAR-DEM-DTED-1.1.pdf http://eoweb.dlr.de:8080/free_SRTM_X-band_data.html

If you know about a free program using this data, thanks to inform me . see you Christophe

zbycz commented 10 years ago

ad DTED format) try looking for a convertor method, I havent tried to understand the nature of the format, but I'd say its just a bitmap again (as well as SRTM). In the meantime you may try using ASTER GDEM data, its possible to register with them and download the tiles you need. And there is the setting prepared in my "srtm parser".

See you! Pavel