[OSM-talk] magical road detector to play with

John-Michael Wiley jmwiley at microsoft.com
Fri Feb 4 14:04:41 GMT 2011


Chris,

The bounding box is the largest area we will search. Actually if the bounding box is greater than 250 tiles at level 18 (Bing Map Tile System)<http://msdn.microsoft.com/en-us/library/bb259689.aspx> then the call will return a 400 (BadRequest). We don't want people sending the server gigantic queries and bogging it down.

If you click on the explore button you can see some of the early work we are doing with the idea of exploring the map in the given region. The code is still being worked on and we will let people know when improvements are made.

http://c5a33f72a0594a6b87931c2e3f984324.cloudapp.net/DetectRoad.svc/explore/?pt1=47.7033391042276,-122.111653945654&pt2=47.7008480831473,-122.111600301474&bbox=47.704891419481,-122.11515154621,47.6984147099526,-122.105753085822

Thanks,
J.M.

From: christian.browet at gmail.com [mailto:christian.browet at gmail.com] On Behalf Of Chris Browet
Sent: Friday, February 04, 2011 1:55 AM
To: John-Michael Wiley
Cc: Steve Coast; talk at openstreetmap.org
Subject: Re: [OSM-talk] magical road detector to play with


On Fri, Feb 4, 2011 at 06:12, John-Michael Wiley <jmwiley at microsoft.com<mailto:jmwiley at microsoft.com>> wrote:

I made the changes, checked in the code and published them to the staging servers. If someone else wants to take a look at the output and let me know if you think. Unless I hear complaints I will update the production servers tomorrow.

http://c5a33f72a0594a6b87931c2e3f984324.cloudapp.net/

I pasted the new output below.

Thanks,
J.M.


- No related, but I wonder about the "bbox" parameter in the requests.

What should it be? The smallest possible bbox completely containing the road to be detected? Is it also a technical optimization parameter, i.e. specifying the world might work but with a huge performance penalty?

- Do you think, at one point, it would be possible to detect all roads/segments within the bbox according to one point defining the roads "color" (This would probably increase the usefulness of the system by an order of magnitude...)

- Chris -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20110204/c9b3d0ff/attachment.html>


More information about the talk mailing list