none
Why am I receiving multiple geocode coordinates from one address? RRS feed

  • Question

  • https://dev.virtualearth.net/REST/v1/Locations/3112 E. State, Des Moines, IA?&key={1}

    I've had this happen on multiple occasions with different addresses. Thank You

    Monday, February 25, 2013 7:53 PM

Answers

  • In fact you're getting two different information as geocodePoints with different calculation method, see the response here:

    "geocodePoints":[
    	{"type":"Point","coordinates":[41.601746,-93.556198], "calculationMethod":"Parcel","usageTypes":["Display"]},
    	{"type":"Point","coordinates":[41.601535797119141,-93.556198120117188],"calculationMethod":"Interpolation","usageTypes":["Display","Route"]}
    ]

    Depending on your usage, you might filter based on the calculation method or on the usage type(s), see the reference about the response:

    http://msdn.microsoft.com/en-us/library/ff701725.aspx


    MVP - Bing Maps - My blog (FR): http://blogs.developpeur.org/nicoboo/ Twitter: http://twitter.com/nicolasboonaert/

    Wednesday, February 27, 2013 1:57 PM
    Moderator
  • If you are not already doing this you may find this document useful on how to use the REST services in .NET: http://msdn.microsoft.com/en-us/library/jj819168.aspx As Nicolas points out multiple points are returned to show different information of a location. In some cases I have seen as many as 5 coordinates returned for a single location. A good example is you will want to use a rooftop accurate coordinate for displaying a location but you will want to use the point on the road for routing. This becomes important in areas where locations have long driveways and the rooftop location is closer to a different road.

    http://rbrundritt.wordpress.com

    Wednesday, February 27, 2013 4:56 PM

All replies

  • In fact you're getting two different information as geocodePoints with different calculation method, see the response here:

    "geocodePoints":[
    	{"type":"Point","coordinates":[41.601746,-93.556198], "calculationMethod":"Parcel","usageTypes":["Display"]},
    	{"type":"Point","coordinates":[41.601535797119141,-93.556198120117188],"calculationMethod":"Interpolation","usageTypes":["Display","Route"]}
    ]

    Depending on your usage, you might filter based on the calculation method or on the usage type(s), see the reference about the response:

    http://msdn.microsoft.com/en-us/library/ff701725.aspx


    MVP - Bing Maps - My blog (FR): http://blogs.developpeur.org/nicoboo/ Twitter: http://twitter.com/nicolasboonaert/

    Wednesday, February 27, 2013 1:57 PM
    Moderator
  • If you are not already doing this you may find this document useful on how to use the REST services in .NET: http://msdn.microsoft.com/en-us/library/jj819168.aspx As Nicolas points out multiple points are returned to show different information of a location. In some cases I have seen as many as 5 coordinates returned for a single location. A good example is you will want to use a rooftop accurate coordinate for displaying a location but you will want to use the point on the road for routing. This becomes important in areas where locations have long driveways and the rooftop location is closer to a different road.

    http://rbrundritt.wordpress.com

    Wednesday, February 27, 2013 4:56 PM