Find Jobs
Hire Freelancers

Scrape or collect Latitude and Longitude for a list of postcodes,zipcodes very easy code example given

$30-100 USD

Berlangsung
Dibuat hampir 17 tahun yang lalu

$30-100 USD

Dibayar ketika dikirim
I need to get the Longitude and Latitude of a list of about 50 postcodes. I am looking for a simple application rather than for some one to manualy go out and do this. I belive it is possible to gain this data from map related websites such as g00gle or yah00. Please see the following example on how this could be done on this example I am searching for the post code of "2077 hornsby" [login to view URL];hl=en&q=2077,+hornsby+Australia Look at source code returned and the Longitude and Latitude are displayed {center: {lat: -33.704748,lng: 151.098696} Here is some example code I do not mind what it is coded in but I would expect the script or application to be past a file with a list of postcodes and then for it to export the list of post codes with there correct Longitude and Latitude. eg 2077 hornsby,-33.704748,151.098696 $postcode=urlencode($_GET['postcode']); $var = file_get_contents("[login to view URL];hl=en&q=$postcode,+Australia"); preg_match('*(lat="-?d+.d+" lng="-?d+.d+").*', $var, $matches); $latlong=explode(" ",$matches[1]); $lat = substr(substr($latlong[0], 0, -1), 5); $long = substr(substr($latlong[1], 0, -1), 5); echo "Latitude: ".$lat."<br />"; echo "Longitude: ".$long."<br />"; Here are some more examples and ways of getting the Longitude and Latitude. [login to view URL] [login to view URL] [login to view URL] [login to view URL];rnum=2 Please let me know if have any ideas on how to get this data
ID Proyek: 152086

Tentang proyek

23 proposal
Proyek remot
Aktif 17 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan

Tentang klien

Bendera UNITED STATES
Gold Coast, United States
5,0
1
Anggota sejak Agu 11, 2006

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.