Blog

Get Latitude and Longitude from your Postal Address

We generally do not know the latitude and longitude of our area or any other area if we have needed to get the information. Sometimes we have to Google for getting this information. It is not a big issue to find out the approximate latitude  and longitude for any location and it can easily be done in PHP.

Postal Address to Latitude and LongitudeHere I am writing the procedures to do the same.

1. Create a PHP page say ‘postal_lang_long.php’

2. Put the following codes in the PHP file.

3. Now place your PHP file in your web server and open the file in any browser.
4. Now in your browser you can see a text box asking for the name of the place.
5. Enter the place-name and hit ‘go’ button.
6. That’s all, you will be shown the latitude and longitude of your location.

  • Aaron

    Hi there. Great tute! Very useful. I was wondering, if I wanted to use this in my application, should I sign up for my own Google API Key? Or what is the legality of using the same key over and over for multiple websites, say in a template?

    • http://www.wavesdream.com admin

      @Aaron, thanks for your reply. It is recommended to signup Google API separately for different website.

  • http://yahwe.ru Yahwe

    How much is a link to your site? My site http://yahwe.ru/

  • Gowtham

    Its really usefull to me…. Thanks for sharing…

  • http://www.gantysoft.com Ruthie Marreel

    One again, your article is very nice

  • Seb

    This is fantastic – I've been looking for some solutions for getting lat and long from the post code, but this one is the top-notch one. Thanks for sharing!

  • http://forum.viper-production.ro/profile.php?mode=viewprofile&u=536627 Lacey Gelber

    This is really great content material. Thank you with this.

  • http://www.fineartsonweb.gr/forum/ Dovie Goth

    hello bros!! Amazing site!

  • http://www.fs.eklamkidodrzwi.pl klamki do okien

    Hey there, You've done a fantastic job. I’ll definitely digg it and personally suggest to my friends. I'm confident they will be benefited from this website.

  • http://ariel.hanggliding.ru/memberlist.php?mode=viewprofile&u=3844 Jayne Kaller

    Good job, post is fantastic

  • http://www.nuvoleink.com/index.php/member/1157 Claudio Soderquist

    Which i dont write-up in Information sites but your site required myself for you to, astounding get the job done. attractive.

  • http://kristaltemizlik.com Ev Temizlik

    Great blogging. Keep it up ;) Btw i found my self here while i was searching for "temizlik sirketleri antalya"

  • http://web.cfa.arizona.edu/colorguard/phpBB2/profile.php?mode=viewprofile&u=5328 Romeo Tanksley

    Hi,this article is great,I found it on google and I appreciate it very much,I agree with what you have said, it help me a lot in decision,but I still have some questions with the last part,can you explain it for me ?I will appreciate your answer,and I will be back again!

  • http://www.uczelnia.edu.pl/ Malena Damewood

    I appreciate, cause I found exactly what I was looking for. You have ended my four day long hunt! God Bless you man. Have a nice day. Bye

  • http://www.nauka-jezyka-angielskiego.com.pl/nauka-jezyka-angielskiego-poprzez-konwersacje/ Nauka jezyka angiels

    It is really a great and helpful piece of info. I am glad that you shared this useful information with us. Please keep us informed like this. Thank you for sharing.

  • http://www.gamewow.info/archives/tag/beast/ Kathaleen Folliard

    Great write-up, I am normal visitor of one's website, maintain up the nice operate, and It is going to be a regular visitor for a lengthy time.

  • http://chordoma.ru/forum/profile.php?id=226406 Marta Sonseca

    Hey! I just want to give a huge thumbs up for the great information you have got here on this post. I can be coming again to your weblog for extra soon.

  • http://duodenalulcersymptoms.info/what-exactly-is-windows-registry-asset-employed-for.html Mark Sierzenga

    This is all very new to me and this article really opened my eyes.Thanks for sharing with us your wisdom.

  • http://blog-narciarski.pl/?p=5605 Leroy Cousino

    excellent points altogether, you simply gained a new reader. What would you suggest about your post that you made a few days ago? Any positive?

    • http://www.wavesdream.com admin

      Hi Leroy, for which post are you talking about? If you want to share anything else, you can write here or just go to our contact page and write your valuable comments. I will be happy to hear from you.

  • http://footpainsideoffoot.info/toes-sores.html Scottie Lefevers

    This online internet site carries a pretty good offer of pretty good right lower to earth well finding tips also it will require to hold out tremendously well, if it hasn’t already? I appreciated studying about some even though implementing products!

  • http://americasbesteyecareo.info/definitely-not-reconcile-returning-outstanding-of-ones-to-prevent-c Jamison Haws

    I apperceive i am a smaller away topic, but i just funds to say i adulation the blueprint within the blog. i am new in the route of blogegine platform, so any tips on accepting my internet page analytic good is often appreciated.

  • http://cataractsurgeryrecoveryo.info/lasek-hurricane-surgical.html Marlene Dull

    This is all very new to me and this article really opened my eyes.Thanks for sharing with us your wisdom.

  • http://hippolyta400.xanga.com/ Buford Beagan

    It’s hard to find knowledgeable people on this topic, but you sound like you know what you’re talking about! Thanks

  • http://www.carphotoalbums.com/forum/member.php?u=406314 Matt Riske

    I'm not sure exactly why but this weblog is loading incredibly slow for me. Is anyone else having this issue or is it a problem on my end? I'll check back later on and see if the problem still exists.

    • http://www.wavesdream.com admin

      Hi Matt, I think there are some issues at your end. This website is designed and coded such a way to load faster. There is no external script called and I tried to maintain it simplistic look. If you find this issue later too, please feel free to write is from our contact page.

  • http://www.wavesdream.com admin

    Hi, this is designed & developed by my team. We are a web development company. We provide web based services. For any future assistance, you can write us from our contact page. We will be happy to assist you.

  • http://www.wavesdream.com admin

    Hi, thanks for your comments. You can sign up for our blog update through e-mail and you can find it in the footer area. So, when ever I update any post, you will be notified through e-mail.