On Oct 20, 2:46 pm, "warden [Andrew Leach - Maps API Guru]"
<[EMAIL PROTECTED]> wrote:
> On Oct 20, 2:34 pm, Merrows <[EMAIL PROTECTED]> wrote:
>
>
>
> > The application is implemented online, the actual function would be to
> > calculate the distance between a store and a customer. So the actual
> > details would be invisible to the user.
>
> The problem with using postcodes is that postcodes are inexact: a
> postcode covers an area, and the "location" of a postcode is its
> centroid, which may not be the point you want. So -- especially as
> support for UK postcodes is to be withdrawn anyway -- something else
> would probably be better...
>
> Since your stores aren't likely to move, you can geocode them. Then
> just get the site visitor to enter their address (you can use
> something likehttp://econym.org.uk/gmap/didyoumean.htm) and get the
> driving distance from A to B in client-side Javascript. You don't need
> to display any results (although it would be good manners to say where
> the results are coming from, and the copyright string is available)
Do you have any more details? As I said in another reply I normally
get coding done at rentacoder.com so I can get something done. The
actual application will find the nearest reseller of a product. So we
have a database of resellers and their addresses, and then a user will
request the nearest one. The website then works out the nearest
reseller and also computes the prices as the reseller prices are
stored. This matters as many of the goods are heavy and the distance
is important (within a few miles).
So ideally the system would be used in some kind of object database,
otherwise we have to read all the data into a dataset and then move
through it testing each postcode. I know Oracle used to other a lot of
object functions in Oracle systems, eg GetNearest(aPC).
The Rightmove postcode calculator is absurd. I live on the Thames
Estuary and Rightmove lists Kent as houses being near by. It makes the
site almost impossible to use. To reach Kent you have to drive top
Dartford and then over to Kent. That is one example of how poor some
major systems can be coded. Rightmove has millions, so I would assume
they could pay the fees.
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---