Friday, September 10, 2010

ve: testing the mappoint webservice

Posted by david on 28. January 2009 22:09

ultimately, the geocode service will be used to generate lat longs whenever my data only has a street address.  I expect it will be automagic when the grid runs, or when the data is initially added to the db.  for user generated points, this would be quick .. but what I am aiming for is being able to do bulk work … particularly because I have a table of 3-400 seattle parks with only addresses.

So, I’ve got the webservice setup … now i just gotta figure out how to use it at will.  First test is a text box for a user entered address, output the lat and long to the page.

BTW, books247 on the kcls.org has an online copy of

Professional Web APIs: Google, eBay, Amazon.Com, MapPoint, FedEx by Denise M. Gosnell 

Chapter 3 is a detailed step through of the MapPoint API, with detailed setup steps.

Getting Started with the MapPoint Web Service SDK

ParseAddress

Find

ConvertToLatLong

asides -

Getting a Map with the Virtual Earth Web Service  geo2web.com this article is about VEWS, not the MapPoint. Fk.

the method, GeocodePoint(string streetaddress), processes an address, returning a latlong.

the Httphandler, processRequest(HttpContext context), currently calls the GeocodePoint, gets the latlong, and builds a javascript function call to CreatePin. 

This is where I need to change things …

Evjen, Bill, Scott Hanselman, and Devin Rader. "Chapter 27 - Modules and Handlers". Professional ASP.NET 3.5: In C# and VB. Wrox Press. © 2008.

Esposito, Dino. "Chapter 7 - Remote Method Calls with ASP.NET AJAX". Introducing Microsoft ASP.NET AJAX.

In the context of an ASP.NET AJAX server API, a contract is mostly a way to write cleaner code. It’s not required, but it can help and is definitely a practice worth pursuing.

every time I turn around there is another entire concept map that i should be getting. latest, besides the mappoint service, there is a virtual earth web service … but it is WPF & seems to use an entirely different authorization scheme.

Ok, for the record, at this time I will be using MapPoint Web Service 4.7.

Using MapPoint Web Service in a Web Application.

FindServiceSoap.FindAddress Method

Comments

Add comment


 

biuquote
Loading