Hi Bernie,<div><br></div><div>You can't actually get the lat-lng back out of a Fusion table. It will geocode all the addresses, but you can't get the numbers back, you can just make a map or layer or something.</div>
<div><br></div><div><a href="http://groups.google.com/group/fusion-tables-users-group/browse_thread/thread/91c43c73107164eb">http://groups.google.com/group/fusion-tables-users-group/browse_thread/thread/91c43c73107164eb</a></div>
<div><br></div><div>Unless I export it to KML and pull it back out of there?</div><div><br></div><div>That seems like a lot of work. But it sure geocodes like gangbusters.</div><div><br></div><div>Cheers,</div><div>JP</div>
<div><br clear="all">Public Health - GIS - Bioinformatics<br><a href="http://www.bmeisis.com/" target="_blank">http://www.bmeisis.com</a><div><a href="http://www.bmeisis.com/" target="_blank"></a><a href="http://www.jpglutting.com" target="_blank">http://www.jpglutting.com</a><div>
<br></div></div><br>
<br><br><div class="gmail_quote">On Fri, Feb 4, 2011 at 7:42 PM, Connors, Bernie (SNB) <span dir="ltr"><<a href="mailto:Bernie.Connors@snb.ca">Bernie.Connors@snb.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Try Google Fusion Tables.  All you have to do is put all of the address components in one field and it should be recognized and geocoded.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">--</span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;color:#0000A0">Bernie Connors, P.Eng</span></b><span style="font-size:10.0pt;color:#1F497D"></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:maroon">Service New Brunswick</span><span style="font-size:10.0pt;color:#1F497D"></span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:maroon">(506) 444-2077</span><span style="font-size:10.0pt;color:#1F497D"></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:maroon">45°56'25.21"N, 66°38'53.65"W</span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:maroon"><a href="http://www.snb.ca/geonb/" target="_blank">www.snb.ca/geonb/</a></span><span style="font-size:11.0pt;color:#1F497D"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:discuss-bounces@lists.osgeo.org" target="_blank">discuss-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:discuss-bounces@lists.osgeo.org" target="_blank">discuss-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>JP Glutting<br>
<b>Sent:</b> Friday, 2011-02-04 09:34<br><b>To:</b> <a href="mailto:discuss@lists.osgeo.org" target="_blank">discuss@lists.osgeo.org</a><br><b>Subject:</b> [OSGeo-Discuss] Batch geocoding</span></p></div><div><div></div><div class="h5">
<p class="MsoNormal"> </p><p class="MsoNormal">Hello, </p><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">I have a large set of addresses (around 150k) that I need to geocode for a study (my Masters thesis on heat-related mortality). I am looking into different solutions, but I can't find anything that seems like it would work properly.</p>
</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">I could script a solution using Google's map API, but there is a limit of 2,500 addreses per day (I can get around them with a little patience). </p>
</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Right now the best solution I am looking at geopy for geocoding addresses (<a href="http://code.google.com/p/geopy/" target="_blank">http://code.google.com/p/geopy/</a>). It seems like a good system, I think I can use it to pull addresses out of my database and write back coordinates. There is one thing that I am not sure, about, though, is whether I am actually allowed to use the Google API without my use being liked to a specific web page. The terms of service and form for getting a Google API key require a URL linked to a Google account. In fact, it looks like the API can only be used through a web site:</p>
</div><div><p class="MsoNormal"> </p></div><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal">"<span><span>5.2 <u>Account Key</u>. After supplying Google with your account information and the URL of your Maps API Implementation, and accepting the Terms, you will be issued an alphanumeric key assigned to you by Google that is uniquely associated with your Google Account and the URL of your Maps API Implementation. Your Maps API Implementation must import the Google Maps APIs using this key as described in the <a href="http://code.google.com/apis/maps/documentation/" title="Maps APIs Documentation" target="_blank"><span style="color:#0000CC">Maps APIs Documentation</span></a>, and Google will block requests with an invalid key or invalid URL. You may only obtain and use a key in accordance with these Terms and the <a href="http://code.google.com/apis/maps/documentation/" title="Maps APIs Documentation" target="_blank"><span style="color:#0000CC">Maps APIs Documentation</span></a>.</span></span>"</p>
</div></blockquote><p class="MsoNormal"> </p><div><p class="MsoNormal">So it looks like I can't even get it to work without a URL. </p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">I can always write a script that loops through results extracted from the database, creates URLs and parses the XML results one at a time, but that seems like a fairly inelegant solution. </p>
</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Does anyone have any good ideas about how to geocode a few thousand addresses?</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Many thanks,</p>
</div><div><p class="MsoNormal">JP</p></div></div></div></div></div><br>_______________________________________________<br>
Discuss mailing list<br>
<a href="mailto:Discuss@lists.osgeo.org">Discuss@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/discuss" target="_blank">http://lists.osgeo.org/mailman/listinfo/discuss</a><br>
<br></blockquote></div><br></div>