hiposfer / o2g

A simple tool to extract GTFS feed from OpenStreetMap.
https://o2g.herokuapp.com/
MIT License
11 stars 2 forks source link

investigate saarland empty routes #31

Closed carocad closed 6 years ago

carocad commented 6 years ago

I just tried osmtogtfs on Saarland and found out that several files are empty :(

Do you know what might be the cause?

saarland.zip

carocad commented 6 years ago

my mistake !!

I totally forgot that you put the option to integrate dummy data or not. However that made me realize something: Would it be possible to print the config of osmtogtfs before it is executed?

Since the terminal description only says [OPTIONS] it is not possible to know which values were applied as default which can definitely be useful for a beginner :)

mehdisadeghi commented 6 years ago

my mistake !!

No problem!

Would it be possible to print the config of osmtogtfs before it is executed?

Yes of course! I think I had put the default values in the docs of each option. I'll have a second look.

mehdisadeghi commented 6 years ago

Would it be possible to print the config of osmtogtfs before it is executed?

If you use osmtogtfs --help, it will show the default values that will be used (inside the docs).

To make it more explicit, I added some more logging to the output. You have to append --loglevel DEBUG to see them.