You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: david[at]frankieandshadow.com [Submitted to the original trac issue database at 6.05pm, Wednesday, 15th August 2007]
-------- Original Message --------
Subject: Re: [OSM-dev] Name finder for the main OSM page?
Date: Fri, 24 Aug 2007 00:21:06 +0100
From: Tom Hughes <tom[at]compton.nu>
To: dev[at]openstreetmap.org
I've been playing with this using the three queries that your new
version uses and I've found a couple of issues...
The "towns near" and "places near" queries generally behave fairly
sensibly, and give things near "requestedplace" which has the lat
and lon I supplied.
The "cities near" query does not do this however, and gives me all
sorts of wierd results which are relative to other places and not
the lat and lon I gave. My test case of 51.76,0.0 which is just north
of London gives me Bristol as the first result!
A second problem is that it doesn't cope with wrapping around the
zero meridian - as you can probably guess from that test case I live
about half a mile or so from the meridian and I find that if I'm to
the east of it I only find towns to the east and vice verse when I'm
to the west of it.
The text was updated successfully, but these errors were encountered:
Author: david[at]frankieandshadow.com [Added to the original trac issue at 2.38pm, Saturday, 25th August 2007]
Fixed. The indexing was not normalising longitudesinto the range 0..360 in order to produce a positive region number, while the searching was. So having determined neighbouring regions to look at, the relevant places weren't found in them when the neighbouring region had a negative longitude.
Reporter: david[at]frankieandshadow.com
[Submitted to the original trac issue database at 6.05pm, Wednesday, 15th August 2007]
-------- Original Message --------
Subject: Re: [OSM-dev] Name finder for the main OSM page?
Date: Fri, 24 Aug 2007 00:21:06 +0100
From: Tom Hughes <tom[at]compton.nu>
To: dev[at]openstreetmap.org
I've been playing with this using the three queries that your new
version uses and I've found a couple of issues...
The "towns near" and "places near" queries generally behave fairly
sensibly, and give things near "requestedplace" which has the lat
and lon I supplied.
The "cities near" query does not do this however, and gives me all
sorts of wierd results which are relative to other places and not
the lat and lon I gave. My test case of 51.76,0.0 which is just north
of London gives me Bristol as the first result!
A second problem is that it doesn't cope with wrapping around the
zero meridian - as you can probably guess from that test case I live
about half a mile or so from the meridian and I find that if I'm to
the east of it I only find towns to the east and vice verse when I'm
to the west of it.
The text was updated successfully, but these errors were encountered: