Batch Geocoding with Virtual Earth Geocoding Service

It has been a standard practice for MapPoint and Virtual Earth users to Geocode their location data using the Virtual Earth/MapPoint Customer Service site. Since the introduction of rooftop geocoding in Virtual Earth users have been asking for the ability to Geocode their location data with the same accuracy. This can now be done using the Virtual Earth geocoding service.

I have thrown together a simple program that can do this. You can download it here: http://cid-e7dba9a4bfd458c5.skydrive.live.com/self.aspx/VE%20Tools/BatchGeocodeWithVE.zip. This program takes in tab or pipe delimited data source files, similar to the Customer Service site. It fills in the latitude and longitude fields and adds three more fields; Confidence, MatchCode, and CalculationMethod.

Running a couple of addresses through this program you can see a difference in the accuracy of the coordinates provided by the VE Geocoding service compared to the coordinates provided by the Customer Service site.

  Test Location       VE Latitude      VE Longitude       MWS Latitude       MWS Longitude       Distance (meters)   
1 33.836145 -118.357 33.8359 -118.357 27.27
2 41.258984 -73.0118 41.259 -73.012 16.83
3 36.809644 -119.761 36.8087 -119.762 137.79
4 41.373381 -72.1393 41.3772 -72.1476 813.30

*Note: You may have to update the service reference if an InvalidOperationException occurs when you first run the application.

Advertisements

3 thoughts on “Batch Geocoding with Virtual Earth Geocoding Service

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s