473,800 Members | 2,526 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

location finder by typing your post code (UK)

Hi,

I wonder if you could advice me on the best solution.

I will receive from my client a raw data with locations of their
stores, which probably would look like this:
"B&Q, Industrial Park, Huntingdon, Cambridgeshire, CB23 2KK, 01480
7131313"

What I need to do is add to the website a location finder by typing a
postcode. Let's say I type "CB4 1JT" or "Cambridge" where I live and I
want to display number of nearest stores.

Ideally I would like to achieve similar result to this one:
http://www.diy.com/diy/jsp/bq/templa...ore_finder.jsp

What would be the best approach to implement solution like that? Do I
need to buy off-shelf solution? Which one, from your experience, is
the best. Obviously it must support PHP.

Thanks a million,
Richard
Nov 22 '07 #1
3 4603
There is also a dedicated UK postcode discussion mailing list, but I no
longer have the details and a quick web search did not find it. If you
can find it with a web search, it would be a valuable info. resource
from people who do this kind of thing professionally. Key words that
might source it are: postcode gis geography (and synonyms) mailing list,
etc.. People in the newsgroups above may know the subscribe details.
It's not a UK dedicated postcode mailing list at all, it's a dedicated GIS
mailing list, but members have postcode to location expertise: See here:

http://www.jiscmail.ac.uk/lists/GIS-UK.html

HTH.
Nov 22 '07 #2
Richard wrote:
What I need to do is add to the website a location finder by typing a
postcode.
Here's a link to my own work on postcodes. It supports basic postcode
parsing/validating for the UK, most of Western Europe, plus several other
countries, plus for the UK only: district-accuracy postcode positioning,
distance calculations and searching.

http://examples.tobyinkster.co.uk/postcodes/

Unsupported -- don't ask me for help using it.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 1 day, 9:21.]

It'll be in the Last Place You Look
http://tobyinkster.co.uk/blog/2007/11/21/no2id/
Nov 22 '07 #3
While the city slept, Toby A Inkster (us**********@t obyinkster.co.u k)
feverishly typed...
Richard wrote:
>What I need to do is add to the website a location finder by typing a
postcode.

Here's a link to my own work on postcodes. It supports basic postcode
parsing/validating for the UK, most of Western Europe, plus several
other countries, plus for the UK only: district-accuracy postcode
positioning, distance calculations and searching.

http://examples.tobyinkster.co.uk/postcodes/

Unsupported -- don't ask me for help using it.
Ohhhhh.... now where was this when I was trying to figure all this out a few
months ago?? ;-)

An excellent set of data and routines sir! :-)

Cheers,
Nige

--
Nigel Moss http://www.nigenet.org.uk
Mail address will bounce. ni***@DOG.nigen et.org.uk | Take the DOG. out!
"Your mother ate my dog!", "Not all of him!"
Nov 22 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

53
9957
by: dterrors | last post by:
Will php 6 do strong typing and/or namespaces? I was shocked to find out today that there are some people who actually argue that weak typing is somehow better. I didn't even know there was a debate. Shocking. That's like arguing that square tires are better than round. Anyway if anyone knows that php is going to intentionally stay weak in the future let me know so I can jump ship, thanks,
1
1565
by: Mark Anderson | last post by:
Am I correct in thinking that you can only use location.search to retrieve all a form's inputs if the method is GET. In my experiments so far, using search I only get what follows the ? in the returned page. With the 'script' I'm using that gives me nothing in the URL with POST. I hope that makes sense. Am I missing something? Mark
19
31075
by: Darren | last post by:
I have a page that opens a popup window and within the window, some databse info is submitted and the window closes. It then refreshes the original window using window.opener.location.reload(). The problem is that after the reload, it brings you right to the top of the page. When I click 'refresh" on the original page, it brings me back to the original viewing position. Is there a way to duplicate this in from the popup window. Also,...
1
2144
by: Tom | last post by:
If anyone is looking for a cost effective postcode finder try this http://www.postcodeanywhere.co.uk/ it is brilliant and very easy to use
1
9428
by: Colin McGuire | last post by:
Thanks everyone for help in my previous post. Using the "Point.op_Addition" from the previous post I have to now focus on the real problem. I need to manually position a new form so that its upper left hand corner is positioned exactly in the middle of the button that was pressed (Button1). I can't seem to get the knack of Location() and PointToScreen() to position the new form here. According to the help, location() is to do
5
3239
by: Newbie! | last post by:
Hey Group, I carn`t find this anywhere:( Anybody know how I could set the location of a TaB Page by codes? Ta Si
23
3652
by: lwoods | last post by:
I am trying to pass some info to another page on my site. I set "session_start()" in page 1, assign a session variable to a value, then execute a "header('Location: ....')." But on the target page I don't get any session variable values! BTW, I used a relative location in the Location header, not an absolute URL. The behavior looks like it started another session, but it should not have. Ideas? TIA,
7
2502
by: ezusbo | last post by:
Hi I have implemented this AJAX enabled route finder for getting from A to B on the London Underground network, with built in Google Maps for each station along the way. The AJAX piece allows for auto completion of station names and performs the search itself. The underlying framework is Ruby on Rails and scriptaculous. If you live in London, you might find it useful. Let me know of any useful feedback.
5
7790
by: EggHead | last post by:
Hi all, My development environment is VB 6.0, and my OS is winxp. I would like to know how to find the mouse location at a control when the mouse is point at that control. The problem is that the mouse "whatever" events will not fire since the mouse is hjhack by other control. Anyway, I have the following code and I can check is the mouse over the control or not, however, I cannot find out where the mouse location at that control. Private...
0
9695
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10514
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10287
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10260
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9099
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5479
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5616
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4156
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3770
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.