On Tue, Oct 21, 2008 at 11:52 AM, Sascha Silbe < [EMAIL PROTECTED]> wrote:
> On Mon, Oct 20, 2008 at 10:31:35PM +0200, Nic Roets wrote: > > During rebuild, gosmore only mmaps the wayType data which is roughly 1GB. >> During one stage, it iterates through the node data and update the >> wayTypes >> they point to so that bounding boxes can be computed. >> > OK, so you don't index by location currently (since that would need > bounding boxes)? How does your geocoder work? I.e. how does it find a given > street inside a given town? > You type the name of the town, click to center, then type the name of the street. The nearest occurrence will be the first result, so clicking on it will take you there. Implementation : Each wayType has a center point and zero or more "tag values", for example the name. There's an alphabetical index of the names as well as a complicated algorithm for handling the case where two tag values are equal by finding the nearest occurrence. > > Each time you enter a town (or village or whatever), there's a yellow sign > (StVO sign number 310 [1]). Exactly at the location of these signs the > defaults change from 100km/h to 50km/h (for cars). This is regulated by law > (Straßenverkehrsordnung (StVO) § 3 (3) [2]) > The area delimited by these signs is called "Geschlossene Ortschaft" [3], > roughly translated it would be "closed (=delimited) place (village)". > Then the way should be split where these signs occur and the max_speed tags set explicitly. > > How does it work in other countries? Are there different defaults and where > do they change? What "prevents" you from driving as fast inside a town as > you would outside? > The US makes up more than half of our "planet". If you consider that the US population more than doubled during the 20th century, you realize that the majority of US town planning took place after the invention of the motorcar. This means you often get stretches of highway / motorway inside cities with large shoulders, embankments and railings so that it's safe to drive there at high speed. > > [1] http://de.wikipedia.org/wiki/Bild:Zeichen_310.svg > [2] http://bundesrecht.juris.de/stvo/__3.html > [3] http://de.wikipedia.org/wiki/Geschlossene_Ortschaft > > > CU Sascha > > -- > http://sascha.silbe.org/ > http://www.infra-silbe.de/ > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iQEVAwUBSP2mWLpz82VMF3DaAQI+Wgf7BnJauYHhFoFFT0CBNc6fmQh1ilVhuy3b > 0wIuAK7CfIlRtW778dbSuLIEe7vTXnnt9UGJR33MT6Ez+OWADSf9wP5u8yAHzpi5 > Qc/w01YoCP42SYK/H2je8IciAxG9JAPiKKU8n4FmMorxkj5oqNhKEdXDLo03yVfR > uOjJYF69Mlgfh++CBGF8EGHONsT2ZuWUzn3QTqWli9MR49j50HKhXQcWNI7lX7yD > bpKyf5N5jM9/4+qAbAU+MZo/HNb0xwrCYY7pdgxOzYopHZogq6Z+0Oim7KhwUWjN > 05gjd5aNLgUD5KIL3mGyGrZFWdwfoSQWVOyy0v/y+rMRVLCnHZTW4w== > =MsC1 > -----END PGP SIGNATURE----- > > _______________________________________________ > Routing mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/routing > >
_______________________________________________ Routing mailing list [email protected] http://lists.openstreetmap.org/listinfo/routing
