none
Displaying data on map based on adress RRS feed

  • Question

  • Dear all,

    I am new to bing map and need following informations:

    I need to build for a customer an application which displays on a map, properties based on their adress.
    I get all adress properties from my customer databased, but then I need to position those properties on WPF bing map control.

    based on that I have few question :

    1- I have seen that we need to connect to REST service, but could not find which one will return lat,long based on ad adress ?
    2- When a given lat/long is return I have seen it is in format (xxx.xxx, yyy.xxxx), the problem is that if I have a customer PC which is set for frenc Location,the deciaml point used in lat/long is not the same so how can I get a Lat/long which match the current culture and works all time for positionning the properties? 

    3-When I get the Lat/Long from an adress, is it better to store it locally to avoid calling the service again through the address string for successive call ?

    Thanks for help

    regards

    serge


    Your knowledge is enhanced by that of others.

    Sunday, September 30, 2012 1:54 PM

Answers

  • You should geocode all the addresses in the database a head of time once rather than geocoding on the fly. This will significantly improve performance and will also reduce the number of transactions you create against Bing Maps. If you have a lot of addresses I recommend using the Batch Geocoding service which allows you to geocode up to 200,000 addresses at once. (Documentation: http://msdn.microsoft.com/en-us/library/ff701733.aspx) Once your data is geocoded then you can easily display the data on a WPF map. Take a look at this blog posts as an example:http://rbrundritt.wordpress.com/2012/06/08/entity-framework-5-bing-maps-wpf/

    As for the culture stuff you can specify the culture in the request.

    Also, since this is likely an internal application you will need a Bing Maps license. Contact the licensing team at maplic@microsoft.com


    http://rbrundritt.wordpress.com

    Monday, October 1, 2012 7:52 AM