Discussion:
Bing Maps Web Services Reverse Geocode At Least City, State, Country
(too old to reply)
kevinAG
2009-11-03 23:56:47 UTC
Permalink
Is there a way to get the Bing Maps Web Services Reverse Geocode
method (http://msdn.microsoft.com/en-us/library/cc980817.aspx) to
return at least the closest city, state, and country for a given
coordinate? For example, when I try to reverse geocode (36.25425,
-112.69756), I don't get any results back. I know it's not on a
street, but it is in some city, state, and country, so it would be
nice to at least get that information back. With the forward geocode
method there are several options you can specify. I don't see any
useful options in the reverse geocode method to try and force this
type of behavior. Am I missing something? Is there another way or
method available to accomplish what I want?

Other coordinates that don't return any results include:

34.780120, -111.443118
33.432987, -111.371147
33.439140, -111.448010
Derek Chan
2009-11-10 16:19:03 UTC
Permalink
Although the Address information was blank, I still was able to pull out the
City/State/Country information. Are you using the Mappoint.NA datasource?
Try checking out other properties other than the Address.

Hope that helps,
--
Windows Live Platform MVP
Post by kevinAG
Is there a way to get the Bing Maps Web Services Reverse Geocode
method (http://msdn.microsoft.com/en-us/library/cc980817.aspx) to
return at least the closest city, state, and country for a given
coordinate? For example, when I try to reverse geocode (36.25425,
-112.69756), I don't get any results back. I know it's not on a
street, but it is in some city, state, and country, so it would be
nice to at least get that information back. With the forward geocode
method there are several options you can specify. I don't see any
useful options in the reverse geocode method to try and force this
type of behavior. Am I missing something? Is there another way or
method available to accomplish what I want?
34.780120, -111.443118
33.432987, -111.371147
33.439140, -111.448010
.
Kevin77
2009-11-10 17:29:54 UTC
Permalink
Thanks. I appreciate the response. Unfortunately, I'm not using the
MapPoint Web Service SDK. I know this news group is for MapPoint, but
it is my understanding that the Bing Web Services have superseded
MapPoint. I checked this group and saw that other people had posted
questions about Bing, so I went ahead and posted as well.

I don't really care to fall back and use the MapPoint Web Service SDK
because it will be an entire new set of classes and objects and
perhaps even different credentials. We also have world wide data, so
having to specify the datasource is pretty lame.

Again, thanks for trying it out though and getting back to me.
Post by Derek Chan
Although the Address information was blank, I still was able to pull out the
City/State/Country information.  Are you using the Mappoint.NA datasource?  
Try checking out other properties other than the Address.
Hope that helps,
--
Windows Live Platform MVP
Post by kevinAG
Is there a way to get the Bing Maps Web Services Reverse Geocode
method (http://msdn.microsoft.com/en-us/library/cc980817.aspx) to
return at least the closest city, state, and country for a given
coordinate?  For example, when I try to reverse geocode (36.25425,
-112.69756), I don't get any results back.  I know it's not on a
street, but it is in some city, state, and country, so it would be
nice to at least get that information back.  With the forward geocode
method there are several options you can specify.  I don't see any
useful options in the reverse geocode method to try and force this
type of behavior.  Am I missing something?  Is there another way or
method available to accomplish what I want?
34.780120, -111.443118
33.432987, -111.371147
33.439140, -111.448010
.
Loading...