I answered number 1 for you a few days ago. Basically the sample will not help you and you will have to write something on your own. If you REALLY want to modify the sample application, you only need to modify the code so the line in findaddress.php that reads:
$address = $_GET['address'] . ', Sheboygan, WI'; Is changed so you pass the city and state as a variable instead. Here is what I wrote in my original response: the sample application uses the geocoder.us web service to find the latitude and longitude of a street address. This is only for the United States. See http://geocoder.us/ for more information. In order to do the same for data in Spain like you desire, you would have to find a similar service with Spanish data or build your own. Something like this might be interesting to you: http://www.nacgeo.com/geocode.asp. Or, look into using the Google or Yahoo geocoders. http://www.developer.com/lang/jscript/article.php/3615681 Andy Morsell, P.E. Spatial Integrators, Inc. www.SpatialGIS.com From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sergio Nistal Calvo Sent: Thursday, November 27, 2008 9:32 AM To: MapGuide User List Subject: [mapguide-users] Doubts/Problems with find address and plot DWF Hi, Can anyone help me? 1- How do I edit the php script "find address" so that the city and the state are not as they are hardcoded in the Sheboygan sample, because my question is "Find Address" uses "rpc.geocoder.us" in Sheboygan. Does it exist a general web address to find any data? this is, can I use the function "find address" to find a name (not a number and a name as is done in Sheboygan to find a address), but only a name that represents a natural space in Castilla y León (a Spain´s region)? 2- I have installed the program Autodesk design review, version 9.0.0.96. With this program works for me the plot of DWF Sheboygan, but not with my data type shp, sbx, sbn, dbf, idx and shx (or with the transformation to sdf). (The message is: "Your current version of Design Review does not support files of this type") Do I need to install another program? What is the problem? Thanks _____ Descubre la nueva versión de Messenger y pruébala gratis <http://download.live.com/>
_______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users