How to convert an address to a latitude/longitude?

前端 未结 18 2859
难免孤独
难免孤独 2020-11-29 16:21

How would I go about converting an address or city to a latitude/longitude? Are there commercial outfits I can \"rent\" this service from? This would be used in a commercial

相关标签:
18条回答
  • 2020-11-29 16:54

    If you need a one off solution, you can try: https://addresstolatlong.com/

    I've used it for a long time and it has worked pretty well for me.

    0 讨论(0)
  • 2020-11-29 16:56

    Maptsraction (http://www.mapstraction.com) lets you choose between any number of geocoding services. This could be helpful if you need to do large quantities, as I know Google has a limit to how many you can do a day.

    0 讨论(0)
  • 2020-11-29 16:57

    Try this: http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=false

    more info here: http://code.google.com/apis/maps/documentation/geocoding/

    0 讨论(0)
  • 2020-11-29 16:58

    The USC WebGIS Geocoder is free and offers several API's, or you can upload a database for online batch processing.

    0 讨论(0)
  • 2020-11-29 16:59

    Having rolled my own solution for this before, I can whole heartedly recommend the Geo::Coder::US Perl module for this. Just download all the census data and use the included importer to create the Berkeley DB for your country and point the Perl script at it. Use the module's built in address parsing, and there you have it: An offline geocoding system!

    0 讨论(0)
  • 2020-11-29 17:01

    you can use bing maps soap services, where you can reference reverse geocode service to find lat/long from address here is the link http://msdn.microsoft.com/en-us/library/cc980922.aspx

    0 讨论(0)
提交回复
热议问题