[talk-au] Basic search, first attempt
Ross Scanlon
info at 4x4falcon.com
Sat Aug 8 13:49:45 BST 2009
On Sat, 8 Aug 2009 08:42:56 +0000 (GMT)
John Smith <delta_foxtrot at yahoo.com> wrote:
>
> I've been looking for some kind of simple search that can be added to the map page, so far I haven't found anything open source or something I can easily hack into a website so I've cooked up a proof of concept search that just does streets/towns and at this stage opens up on the OSM site and displays the way/relation.
>
> I've integrated this with the new map layout and some JS to make it all just work.
>
> http://maps.bigtincan.com/index-new.php
>
> I've tried to code for simple combinations so far, and if you manage to stump it I'd appreciate it if you could tell me what you were searching for.
>
> Oh and the code converts St to Street etc, but I may not have remembered all combinations of abbreviations, I just used the list we built for the validator plugin.
>
Here's one for you:
don river road, bowen, qld
I know that there is a road near bowen but I can never remember if it's don river road or lower don river road or upper don river road.
If I enter the above in google or yahoo it comes up with the correct road, Upper Don River Road.
I think you just need to wild card front and back on the road search query to cover it, sould not need to for the city and state.
--
Cheers
Ross
More information about the Talk-au
mailing list