Project Detail

Filter cities by distance +  

Filter cities by distance + is project number 161312
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status:

Selected Providers: entwood

Budget: $30-100

Created: 07/22/2007 at 13:20 EDT

Bid Count: 9

Average Bid:
$ 87

08/03/2007 at 13:20 EDT

Project Creator: interservices
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (39 reviews)

Bid On This Project
 

Description

Here is a list of all the 8102 municipalities (city, town and villages) of Italy: http://www.istat.it/strumenti/definizioni/comuni/elenco_comuni_italiani_1_gen_2007.xls

I need these three things:

1) I need a script or program, in whatever language you want, that gets their latitude/longitude from Google Maps

Note1: Google queries must be done in http://maps.google.it. You can grab latitude and longitude from the URL of the link named 'Collegamento a questa pagina' on the bottom-right of the page.
Note2: be aware that Google has a block after (I think but I'm not sure of the number) 5000 subsequent queries from the same IP. You will need to wait a day (?) or to use a proxy for the remaining queries.

2) then I need you to upload the 8102 municipalities names and their latitude/longitude in my MySQL database

Note: I can import your Utf-8 SQL file to do this.

3) then I need you to put on my webserver a PHP or Perl or ASP program that, given a municipality and a radius in KM as parameters (e.g. 'script.php?municipality=Milano&radius=15'), returns a list with all the municipalities that are within this radius including the given municipality.

Note1: to obtain the distances between the returned municipalities given the latitude/longitude you must use an algorithm like http://www.freevbcode.com/ShowCode.asp?ID=1793 or another that takes into account the actual polar flattening of the earth and the equatorial bulge...
Note2: the execution time, given a radius of 100 KM, must not exceed 0.2 seconds, therefore you will need to calculate the distances in two steps: the first step will use a very simple and fast but unprecise algorithm to exclude the most of the municipalities, that that are clearly more far that the given radius; the second step will use the slower but more precise algorithm described in Note1 to accurately decide if the remaining municipalities are within the given radius.

_____

Full source code and ownership required. Escrow offered.

Messages Posted:2 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

100

7 days

07-22-2007 14:56 EDT

Please see PM for details.

help

e3d

 

100

3 days

07-22-2007 13:56 EDT

I can do it for $250. If interested - let's discuss details in PM

help

 

70

3 days

07-22-2007 17:46 EDT

Dear interservices! Please refer to PMB.

help

 

100

1 day

07-23-2007 00:19 EDT

Can do with in a day

help

 

100

7 days

07-26-2007 17:36 EDT

Please see PM for details. I have good knowledge of PHP, MySql. I have no problem using Geocoder from Google Map API to do what you need.

help

 

75

3 days

07-22-2007 14:14 EDT

Please have glance at PMB for more detail. Thanks, ConquerInfoTech.Com

help

 

68

5 days

07-27-2007 15:53 EDT

Dear Project Manager, see PMB. Thanks.

help

 

70

5 days

07-22-2007 17:23 EDT

(No Feedback Yet)

Hi, We are eager to do your project.We have team having more than 4 years of experience in php/mysql .They are expert in AJAX technique. We have experienced of binding google map with sites. We can do your task easily. Please contact me through PMB ,if you have any doubt or query . Thanks Sandy

help

 

100

30 days

07-22-2007 14:22 EDT

(No Feedback Yet)

I can complete this project on 100$.

help


    Bid on this Project