Hi.

Isn't that pretty much what the current OSM namefinder attempts to do?

e.g. a search for "park near Sydney" or "toilet near Sydney"

 - Ben.

2009/8/17 James Livingston <[email protected]>

>
> I'll have a look around to see what's already been done for this, but
> it shouldn't be too hard to. If the search is of the form 'X near Y'
> then do a place lookup on Y, and if you find Y, then look for nearby
> nodes with:
>  * X is of the form "some text", then look for name=some text
>  * X is of the form a=b;c=d then look for those (as a power-user thing)
>  * otherwise use a table of mapping, e.g. toilets -> amenity=toilet,
> lakes -> natural=water
>
>
_______________________________________________
Talk-au mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk-au

Reply via email to