<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial>Hi All,<BR><BR>i work with Squeak and Seaside 
2.8.<BR><BR>In my application i have integrate a Google StaticMap support&nbsp; 
from squeakSource GoogleStaticMaps.<BR><BR>Now i'm interested, when the user 
create a new address,&nbsp; to define and save the relative geographic 
coordinates.<BR><BR>In the Google documentation i read: </FONT></DIV>
<DIV><FONT 
face=Arial><BR>***********************************************************************************<BR><BR>Geocoding 
is the process of converting addresses (like "1600 Amphitheatre Parkway, 
Mountain View, CA") into geographic coordinates (like latitude 37.423021 and 
longitude -122.083739), which you can use to place markers or position the map. 
The Google Maps API Geocoding Service provides a direct way to access a geocoder 
via an HTTP request.<BR><BR>Note: the geocoding service may only be used in 
conjunction with displaying results on a Google map; geocoding results without 
displaying them on a map is prohibited. For complete details on allowed usage, 
consult the Maps API Terms of Service License Restrictions.<BR><BR>Geocoding 
Requests<BR>You may access the Google Maps API Geocoding Service directly over 
HTTP. To access the geocoder, send a request to <A 
href="http://maps.google.com/maps/geo?">http://maps.google.com/maps/geo?</A> 
with the following parameters in the URL: <BR><BR>&nbsp; a.. q (required) - The 
address that you want to geocode. <BR>&nbsp; b.. key (required) - Your API key. 
<BR>&nbsp; c.. sensor (required) - Indicates whether or not the geocoding 
request comes from a device with a location sensor. This value must be either 
true or false. (Note that devices with sensors generally perform their own 
geocoding by definition; therefore, most geocoding requests to the Maps API 
Geocoding service should set sensor to false.) <BR>&nbsp; d.. output (required) 
- The format in which the output should be generated. The options are xml, kml, 
csv, or (default) json. (For more information, see Geocoding Responses below.) 
<BR>&nbsp; e.. oe (optional but strongly encouraged) - The output encoding 
format of the response. It is recommended that you set this output encoding 
explicitly to utf8 unless you have specific requirements to handle other 
encoding types. <BR>&nbsp; f.. ll (optional) - The {latitude,longitude} of the 
viewport center expressed as a comma-separated string (e.g. 
"ll=40.479581,-117.773438" ). This parameter only has meaning if the spn 
parameter is also passed to the geocoder. (For more information see Viewport 
Biasing below.) <BR>&nbsp; g.. spn (optional) - The "span" of the viewport 
expressed as a comma-separated string of {latitude,longitude} (e.g. 
"spn=11.1873,22.5" ). This parameter only has meaning if the ll parameter is 
also passed to the geocoder. (For more information see Viewport Biasing below.) 
<BR>&nbsp; h.. gl (optional) - The country code, specified as a ccTLD 
("top-level domain") two-character value. (For more information see Country Code 
Biasing below.) <BR>Note: The gl and spn,ll viewport parameters will only 
influence, not fully restrict, results from the geocoder.<BR><BR>In this 
example, we request the geographic coordinates of Google's 
headquarters:<BR><BR><A 
href="http://maps.google.com/maps/geo?q=1600+Amphitheatre+Parkway,+Mountain+View,+CA&amp;output=json&amp;oe=utf8&amp;sensor=true_or_false&amp;key=your_api_key">http://maps.google.com/maps/geo?q=1600+Amphitheatre+Parkway,+Mountain+View,+CA&amp;output=json&amp;oe=utf8&amp;sensor=true_or_false&amp;key=your_api_key</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT 
face=Arial>**********************************************</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Now :</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>after the user crate new address i can create a new WAUrl 
as above with specific address.</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>My question is: </FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>&nbsp;&nbsp;&nbsp; how,&nbsp; i can, send from squeak this 
request to the internet for receive the answer?</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>It's a good solution or i wrong?</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Any pointers would be greatly appreciated!</FONT></DIV>
<DIV><FONT face=Arial>Thanks!</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>&nbsp;Dario <BR></DIV></FONT></BODY></HTML>