Top |
Post New Question |
Read All |
MP2K Asks Microsoft
710
Kumar
-
June 6, 2002
I am developing a web based application in asp. I want to extract names of all cities within a specific radius of a particular city for example all cities within 100 miles of New york. Can I do this using mappoint. If yes how?
Answers:
June 6, 2002
First: when you say ASP, that immediately brings to mind the licensing restrictions in MapPoint, see the EULA If all your end-users have MapPoint licenses and your web server's not connected to the Internet, let us know and perhaps we can help you figure out how to do this. Otherwise, explore out MapPoint .NET which is designed for use on the Internet.
June 6, 2002
Technically this is possible with MapPoint 2002, but to stay legal you will have to use the MapPoint .NET web service.
The way to do it is as follows. Do a Find Nearby (proximity query) against one or more categories of points of interest (like Chinese restaurants), or draw a radius circle object on the map and use it to Export records to Excel. (I think the maximum range is 50 miles for a Find Nearby, so 100 miles may not be possible unless you use the radius circle, but the radius circle is only available in MP 2002 which means you have the legal restriction that says "no server-based applications allowed").
This returns hundreds of records. You then grab these records and parse out the City fields. Dedupe these and you have your list. If you pick the right category of points of interest, it's unlikely you'll miss any towns.
June 10, 2002
Yes I have contacted Microsoft and we are buying the lisences for the web services. Can you suggest me some place where I can training on implementing Mappoint web services in our application.
Post New Answer / Follow-up