Thank you very much, Matt!<br><br>I'll try it right now...<br><br><div class="gmail_quote">On Tue, Dec 1, 2009 at 11:06 AM, Matt Amos <span dir="ltr"><<a href="mailto:zerebubuth@gmail.com">zerebubuth@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Tue, Dec 1, 2009 at 4:04 PM, Vitor George <<a href="mailto:vitor.george@gmail.com">vitor.george@gmail.com</a>> wrote:<br>

> I want to start a project in Brazil that is similar to the Tiger Fixup 250<br>
> Cities [1], and I looking forward to build a script that generates a<br>
> distance grid, like this:<br>
><br>
> <a href="http://matt.sandbox.cloudmade.com/usa-routes.html" target="_blank">http://matt.sandbox.cloudmade.com/usa-routes.html</a><br>
><br>
> I've tried to contact the authors via wiki, but I was unsuccessful, so I<br>
> want to develop it by myself. I'm not a professional programmer, but I have<br>
> some experience in java. Is the LibOSM the easiest way tool to implement it?<br>
<br>
</div>sorry you missed us on the wiki. i have to say, i don't really check<br>
the discussion pages like a good wikian should :-(<br>
<br>
the script is very simple, and uses cloudmade's ruby API [1] to get<br>
the routes. you'll need to sign up for a cloudmade API key, if you<br>
haven't already. the script i've attached will output CSV on stdout,<br>
but i usually put them in a database for easy access.<br>
<br>
run it like "ruby routes.rb <conf file>". i've attached an example<br>
configuration file, which is just a yaml map of string to lat/lon<br>
array.<br>
<br>
i look forward to seeing brazil's 250 cities :-)<br>
<br>
cheers,<br>
<br>
matt<br>
<br>
[1] <a href="http://developers.cloudmade.com/projects/show/ruby-lib" target="_blank">http://developers.cloudmade.com/projects/show/ruby-lib</a><br>
</blockquote></div><br>