Professional Documents
Culture Documents
login
tour
help
stackoverflowcareers
Takethe2minutetour
StackOverflowisaquestionandanswersiteforprofessionalandenthusiastprogrammers.It's100%free.
Istherewaytodobatchgeocoding(getlat/lonbyaddressandviceversa)?[closed]
GoogleGeocodingAPIhasseriouslimitations(2,500requestsperday)andwealwaysgetalimiterror.Theirbusinesslicensecosts
$10,000anditistooexpensiveforus.
Serviceshouldworkwithdifferentlanguagesanddifferentcountries.
Serviceshouldverifyaddressandreturnlat/lng.Theaddressescouldbeastringswithdifferentformats.
WearereadytopayforsuchserviceandRESTfulAPIispreferable.
geocoding reverseengineering
googlegeocodingapi
editedSep16'13at9:27
askedApr1'12at0:15
j0k
15.6k
OlegDats
10
41
56
780
15
40
closedasnotconstructivebyBoPersson,DocMax ,carlosfigueira,theTinMan,C.A.McCannNov10'12at0:20
Asitcurrentlystands,thisquestionisnotagoodfitforourQ&Aformat.Weexpectanswerstobesupportedbyfacts,references,orexpertise,butthisquestion
willlikelysolicitdebate,arguments,polling,orextendeddiscussion.Ifyoufeelthatthisquestioncanbeimprovedandpossiblyreopened,visitthehelpcenter
forguidance.
Ifthisquestioncanberewordedtofittherulesinthehelpcenter,pleaseeditthequestion.
5Answers
IworkedatSmartyStreets andwhatyoudescribeistheircoredomain.
YoumightbeinterestedinLiveAddresswhichtransformsaddressesintolat/lonandcanprocess
thousandsofrequestspersecond.It'sgeodistributedacross3datacentersandhasaRESTful
endpoint.Youcandoupto100addressesperrequest.There'salsoalistprocessingversionif
youhaveanExcelorCSVfileorsomethinglikethat.
Thehighestpricetagis$10k,butitgivesyouunlimitedlookupsforayear.
Somesamplecodeisathttps://github.com/smartystreets/LiveAddressSamples .
Theirlicenseagreementhasnosuchrestrictionstolimityourusage.Dbasemanisright:you're
gettinglimiterrorsbecauseit'saviolationoftheTOS(unlessyougetabusinesslicensefrom
them,buteventhentheaddressesare"bestguess"notstandardizedandverifiedlikewitha
CASSCertifiedservice.That'ssomethingtokeepinmind).
editedJun1at23:29
answeredApr1'12at2:25
Matt
7,416
24
ShouldIspecifycoutry,city,addressasrequestparametersexplicitly?CanSmartyStreetsparsedifferent
formatsandlanguageslikegooglecan?Forexample',.,35' OlegDats Apr2'12
at12:57
1 CurrentlyweonlysupportUSaddresses(inwhateverlanguagetheyare).Tobeprocessed,arequestmust
containastreetaddressandacity/state/zip(anycombinationofthose3).Ifyoucan'tsplitthemup,there
is awaytotoprocessaddresseswithouthavingthedifferentpartsseparated.Thealgorithmforthatis
describedhere.KeepinmindthatwhileGoogleismoreflexible,itspurposeisverydifferent:to
approximateaddresses,notvalidatethem.MattApr3'12at19:51
58
1 UPDATE:Thisisabitdelayedhere,butyounolongerhavetoseparatethepartsofasinglelineaddress
manually.LiveAddressdoesitforyou.MattOct1'12at3:59
DoesSmartyStreetssupportreversegeocoding(i.e.lat,long>streetaddress)?stackoverflowuser2010
Jan24'14at1:03
@stackoverflowuser2010Asofrightnow,wejustdoforwardgeocodingfromanaddress.MattJan24'14
at2:34
HaveyoulookedintoNominatim?YoucanrollyourownoverOpenStreetMaps data,oryoucan
sendrequeststoOpenStreetMaps orMapQuest.PossibledownsidesincludetheCClicense
(requiresattribution,mayormaynotbeaproblemforyou)andtheverificationissue(datais
almostentirelycrowdsourced,soinaccuraciesdohappen).Upsidesincludelessrestrictive
usagepolicy,frequentupdates,worldwidecoverage,andofcourse,youcan'tbeattheprice.
answeredApr16'12at6:32
Cameron
1,265
11
Nothereisn't,andifyoulookintotheirlicensing,itisexplicitlydesignedtopreventyoufromusing
theirservicelikethat.Basically,youareonlymeanttouseitif
1. anenduserinitiateseachrequesttotheAPI,and
2. yourserviceisfree.
Theyalsoprohibityoufromsaving/cachingresultsoftheirservicetoadatabase.Googlemakes
iteasytoprototypeusingtheirtools,butonceyoustarttoscaleupyouaregoingtopay(notso
differentfromM$inthatregard).
editedJul9'13at21:16
answeredApr1'12at0:56
McGarnagle
66k
13
99
151
Followingoptionsmaysuiteyou
1. GeoNames
2. Gisgraphy
3. GeoCoder
IdirectlycommunicatedwithGoogleaboutGoogleMapslicensingissue.Unfortunatelytheydon't
realizethatgreatmarketsharebeinglostduetothecost.
answeredApr16'12at8:49
hamad
2,734
justtrythisYUI
UsageLimits
Perapplicationlimit(identifiedbyyourAccessKey):100,000calls
perday
PerIPlimits:/v1/public/:1,000callsperhour/v1/yql/:10,000calls
perhour
ZIP/PostalCode+CountrytoGeoCoordinates
answeredApr16'12at9:24
Chandruvelan
54
14
11
24