PDA

View Full Version : New Programmer Needs Help!!!


She2Real
03-18-2009, 09:31 PM
I am trying to create a program that will allow you to enter in names and street addresses and then be able to match those people up according to how close they live from each other. (I hope that makes sense). I have no idea on where to start with this. Can someone help me? Is it even possible to do this? :confused:

I figure this might be simple to do but seeing how I have no previous computer programming skills I thought it would be smart to ask people who do! :D

Gox
03-18-2009, 10:41 PM
First I guess we need to know what programming language you're using.

While you've provided enough "general" information about the program such that I understand the goal, you've haven't provided too many requirement details. If this is a school assignment you may have various restrictions on what external resources you're allowed to use.

Providing some more detailed information on the project will give those wishing to help more insight into the program and (possible) problem(s) that might exist or arise.

ghell
03-19-2009, 02:43 PM
To be able to find the distance between two addresses, you will need a database of addresses to longitudes and latitudes, which don't come cheap (most likely several thousand <insert your currency here>s). If you can't get this then the answer to your question is no, it isn't possible.

Once you have that, you will need some complicated maths to perform something like a universal mercator projection, then you can use pythagoras to calculate the birds eye distance.