Re: Google Address Lookup/ Autocomplete
It's a shame that Geonames.org could not develop further. Has a very simple web service API but does not go beyond city names. I will have a closer look at the google pricing - I thought I was well within the threshold Thanks for your tips and posts as always. On Thu, 6 Apr 2017 at 12:50 am, Kirk Brooks via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Sujit, > A couple of things about addresses to be aware of when using google. First > is google doesn't validate an address. Think navigation. If my primary > interest is getting TO a place I'm not worried about delivering the mail or > whether the address is correct. I only care about figuring out where it > should be. That's what google does. You can't depend on google for > confirmation a given address actually exists - only where it should be if > it does exist. Same goes with the zip code and such. Granted they are > pretty good but it's not their primary goal. > > The second thing is they get a little pricey if you do anything beyond open > a map in a browser window. > > We do a lot of address verification. Google is good for looking at a > location, like job locations, especially when the job might be someplace > that doesn't have street names yet (housing tracts). But you can't send the > bill there. For those addresses you need a better service. I like > SmartyStreets but there are lot of others. > > On Tue, Apr 4, 2017 at 5:39 PM, Sujit Shah via 4D_Tech < > 4d_tech@lists.4d.com > > wrote: > > > I am wondering if anyone has developed code to integrate with their API > > within the context of a 4D Form? > > > > > > > > -- > > > > xxx > > "There must be ingenuity as well as intention, strategy as well as > > strength. " > > ** > > 4D Internet Users Group (4D iNUG) > > FAQ: http://lists.4d.com/faqnug.html > > Archive: http://lists.4d.com/archives.html > > Options: http://lists.4d.com/mailman/options/4d_tech > > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > > ** > > > > > -- > Kirk Brooks > San Francisco, CA > === > > *The only thing necessary for the triumph of evil is for good men to do > nothing.* > > *- Edmund Burke* > ** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** -- xxx "There must be ingenuity as well as intention, strategy as well as strength. " ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Google Address Lookup/ Autocomplete
Sujit, A couple of things about addresses to be aware of when using google. First is google doesn't validate an address. Think navigation. If my primary interest is getting TO a place I'm not worried about delivering the mail or whether the address is correct. I only care about figuring out where it should be. That's what google does. You can't depend on google for confirmation a given address actually exists - only where it should be if it does exist. Same goes with the zip code and such. Granted they are pretty good but it's not their primary goal. The second thing is they get a little pricey if you do anything beyond open a map in a browser window. We do a lot of address verification. Google is good for looking at a location, like job locations, especially when the job might be someplace that doesn't have street names yet (housing tracts). But you can't send the bill there. For those addresses you need a better service. I like SmartyStreets but there are lot of others. On Tue, Apr 4, 2017 at 5:39 PM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com > wrote: > I am wondering if anyone has developed code to integrate with their API > within the context of a 4D Form? > > > > -- > > xxx > "There must be ingenuity as well as intention, strategy as well as > strength. " > ** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** -- Kirk Brooks San Francisco, CA === *The only thing necessary for the triumph of evil is for good men to do nothing.* *- Edmund Burke* ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Google Address Lookup/ Autocomplete
OK Got it There are 2 API keys needed one for Google Maps and one for Google Places. Just for the record.. On Wed, Apr 5, 2017 at 3:41 PM, Sujit Shah wrote: > Hmm.. I am able to get the Address Validate to work but not the > Auto-Complete. > > JSON Parse Object is saying: "This API project is not authorised to use > this API..." > > This is using my own key. I have replaced it in both places ie > Demo_Validate and Demo_Predict > > ?? > > > > On Wed, Apr 5, 2017 at 12:32 PM, Sujit Shah wrote: > >> Very good! Thanks. >> >> On Wed, Apr 5, 2017 at 11:11 AM, Scott Staley via 4D_Tech < >> 4d_tech@lists.4d.com> wrote: >> >>> >>> The 4D method user group did a presentation that included an address >>> validation app using google maps api. The url to the website page that >>> includes the 4D sample database is shown below. >>> >>> https://4dmethod.com/2015/07/08/next-meeting-july-30-priority-mail/ >>> >>> fyi... The sample database uses a key code that has expired. Google now >>> requires a key code to access their apis and so you will need to get a >>> valid >>> key code to use the sample. >>> >>> >>> >>> >>> >>> -- >>> View this message in context: http://4d.1045681.n5.nabble.co >>> m/Google-Address-Lookup-Autocomplete-tp5751116p5751117.html >>> Sent from the 4D Tech mailing list archive at Nabble.com. >>> ** >>> 4D Internet Users Group (4D iNUG) >>> FAQ: http://lists.4d.com/faqnug.html >>> Archive: http://lists.4d.com/archives.html >>> Options: http://lists.4d.com/mailman/options/4d_tech >>> Unsub: mailto:4d_tech-unsubscr...@lists.4d.com >>> ** >> >> >> >> >> -- >> >> xxx >> "There must be ingenuity as well as intention, strategy as well as >> strength. " >> >> > > > > -- > > xxx > "There must be ingenuity as well as intention, strategy as well as > strength. " > > -- xxx "There must be ingenuity as well as intention, strategy as well as strength. " ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Google Address Lookup/ Autocomplete
Hmm.. I am able to get the Address Validate to work but not the Auto-Complete. JSON Parse Object is saying: "This API project is not authorised to use this API..." This is using my own key. I have replaced it in both places ie Demo_Validate and Demo_Predict ?? On Wed, Apr 5, 2017 at 12:32 PM, Sujit Shah wrote: > Very good! Thanks. > > On Wed, Apr 5, 2017 at 11:11 AM, Scott Staley via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> >> The 4D method user group did a presentation that included an address >> validation app using google maps api. The url to the website page that >> includes the 4D sample database is shown below. >> >> https://4dmethod.com/2015/07/08/next-meeting-july-30-priority-mail/ >> >> fyi... The sample database uses a key code that has expired. Google now >> requires a key code to access their apis and so you will need to get a >> valid >> key code to use the sample. >> >> >> >> >> >> -- >> View this message in context: http://4d.1045681.n5.nabble.co >> m/Google-Address-Lookup-Autocomplete-tp5751116p5751117.html >> Sent from the 4D Tech mailing list archive at Nabble.com. >> ** >> 4D Internet Users Group (4D iNUG) >> FAQ: http://lists.4d.com/faqnug.html >> Archive: http://lists.4d.com/archives.html >> Options: http://lists.4d.com/mailman/options/4d_tech >> Unsub: mailto:4d_tech-unsubscr...@lists.4d.com >> ** > > > > > -- > > xxx > "There must be ingenuity as well as intention, strategy as well as > strength. " > > -- xxx "There must be ingenuity as well as intention, strategy as well as strength. " ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Google Address Lookup/ Autocomplete
Very good! Thanks. On Wed, Apr 5, 2017 at 11:11 AM, Scott Staley via 4D_Tech < 4d_tech@lists.4d.com> wrote: > > The 4D method user group did a presentation that included an address > validation app using google maps api. The url to the website page that > includes the 4D sample database is shown below. > > https://4dmethod.com/2015/07/08/next-meeting-july-30-priority-mail/ > > fyi... The sample database uses a key code that has expired. Google now > requires a key code to access their apis and so you will need to get a > valid > key code to use the sample. > > > > > > -- > View this message in context: http://4d.1045681.n5.nabble. > com/Google-Address-Lookup-Autocomplete-tp5751116p5751117.html > Sent from the 4D Tech mailing list archive at Nabble.com. > ** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** -- xxx "There must be ingenuity as well as intention, strategy as well as strength. " ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Google Address Lookup/ Autocomplete
The 4D method user group did a presentation that included an address validation app using google maps api. The url to the website page that includes the 4D sample database is shown below. https://4dmethod.com/2015/07/08/next-meeting-july-30-priority-mail/ fyi... The sample database uses a key code that has expired. Google now requires a key code to access their apis and so you will need to get a valid key code to use the sample. -- View this message in context: http://4d.1045681.n5.nabble.com/Google-Address-Lookup-Autocomplete-tp5751116p5751117.html Sent from the 4D Tech mailing list archive at Nabble.com. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **