Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how do you run this app #2

Open
baditaflorin opened this issue Jul 16, 2015 · 3 comments
Open

how do you run this app #2

baditaflorin opened this issue Jul 16, 2015 · 3 comments

Comments

@baditaflorin
Copy link

i have installed ruby , but when i try to run i get htis error

ruby run_webserver.rb
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- active_support/core_ext/hash (LoadError) from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
from run_webserver.rb:2:in `

'
/data/files/florinb/github/osm-relation-utils/src$

@petervojtek
Copy link
Member

Hi, I updated the readme file to aswer your questions: https://github.com/sk-vpohybe/osm-relation-utils/blob/master/README.md

@baditaflorin
Copy link
Author

Hi Peter, thenks for the reply.

Do you think that is possible, starting from your script, to generate a
list of the broken relationships, that means, if i have a relation that is
splitted in many parts, to output this info .

Or i better start from zero or search for another example , like this one
http://ra.osmsurround.org/analyzeRelation?relationId=38266&_noCache=on

I liked your script because it can generate bulk "reports"

On Mon, Jul 20, 2015 at 1:31 PM, Peter Vojtek [email protected]
wrote:

Hi, I updated the readme file to aswer your questions:
https://github.com/sk-vpohybe/osm-relation-utils/blob/master/README.md


Reply to this email directly or view it on GitHub
#2 (comment)
.

@petervojtek
Copy link
Member

hi Badita,

I guess the code is not suitable for your task.
actually I have there an assumtion that the relation cannot be "broken" (i.e. graph must have only one component) - https://github.com/sk-vpohybe/osm-relation-utils/blob/master/src/journey/journey.rb#L6

you may find this useful:
https://github.com/brianstorti/ruby-graph-algorithms/tree/master/connected_components

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants