Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XML
data.xmlanalysis
mappoint.webservice
msf
msxml-webrelease
netmyservices.sdk
passport.sdk
soap
soapsdk
uddi.general
uddi.programming
uddi.specification
xml
xmlsqlwebrelease
xsl
  
 
date: Tue, 15 Apr 2008 18:27:00 -0700,    group: microsoft.public.mappoint.webservice        back       


mappoint.world datasource does not return an address object   
Hello, when I use the mappoint.world datasource, and do a lat/long lookup via 
FindServiceSoap.GetLocationInfo, using "MapPoint.World", no address object is 
ever returned.     Yet in the entity.displayname which is returned, the 
country clearly appears at the end.    

For example, with lat/long of 30.581 and 32.313, the call to mappoint 
returns an entity object with "Al Ismā’īlīyah (governorate), Egypt" in the 
entityname.   It clearly found the country, yet it did not return an address 
object with the country set to egypt.  

I could potentially assume the country is the last word in the entity name 
for every call, but I am not sure this is a good assumption.     I as the 
user of the api should also not have to do any parsing of the location.    
The api should have done all that for me.    The mappoint api should just 
return an address object with the country set for calls to mappoint.world.    
Why doesn't it do this and how do I work around it?
date: Tue, 15 Apr 2008 18:27:00 -0700   author:   Jieyang

Re: mappoint.world datasource does not return an address object   
On Tue, 15 Apr 2008 18:27:00 -0700, Jieyang
 wrote:

>Hello, when I use the mappoint.world datasource, and do a lat/long lookup via 
>FindServiceSoap.GetLocationInfo, using "MapPoint.World", no address object is 
>ever returned.     Yet in the entity.displayname which is returned, the 
>country clearly appears at the end.    
>
>For example, with lat/long of 30.581 and 32.313, the call to mappoint 
>returns an entity object with "Al Ism?’?l?yah (governorate), Egypt" in the 
>entityname.   It clearly found the country, yet it did not return an address 
>object with the country set to egypt.  

The problem might be that the capabilities of the MapPoint.World
datasource are quite limited, check out the following table:

http://msdn2.microsoft.com/en-us/library/ms982193.aspx

While it supports "CanFindPlaces", it lacks the "CanFindAddress"
supported by e.g. MapPoint.AP, MapPoint.NA and MapPoint.EU.

   Regards,
   Gilles [MVP].

   (Please reply to the group, not via email.
   Find my MVP profile with past articles / downloads here: 
   http://www.gilleskohl.de/mvpprofile.htm)
date: Wed, 16 Apr 2008 16:54:02 +0200   author:   Gilles Kohl [MVP] no_email_available@

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us