BrainDump
  Home arrow BrainDump arrow MapPoint Web Service Find APIs
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

MapPoint Web Service Find APIs
By: O'Reilly Media
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2008-02-07

    Table of Contents:
  • MapPoint Web Service Find APIs
  • The Anatomy of Find Methods
  • Understanding Entities and Entity Relationships
  • Data Sources and Entity Types

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    MapPoint Web Service Find APIs


    (Page 1 of 4 )

    This article, the first part of a five-part series, discusses the Find Service, one of the four core components of the MapPoint Web Service. It is excerpted from chapter six of the book Programming MapPoint in .NET, written by Chandu Thota (O'Reilly; ISBN: 0596009062). Copyright © 2007 O'Reilly Media, Inc. All rights reserved. Used with permission from the publisher. Available from booksellers or direct from O'Reilly Media.

    The Find Service is one of the four core components of the MapPoint Web Service, allowing you to find places, addresses, points of interest around a given place or address, locations based on entity types, and so on. In this chapter, we’ll take an in-depth look at the MapPoint Web Service Find APIs.

    Understanding Find APIs

    If you remember from our discussion in Chapter 5, the Find Service endpoint is located at the FindService.asmx, and the APIs available for Find Service are exposed via the FindServiceSoapclass in the Web Service proxy (Reference.cs or Reference.vb). TheFindServiceSoapclass contains a number of find-related methods used for finding places, addresses, nearby points, and so on. Table 6-1 shows the methods exposed on theFindServiceSoapclass.

    Table 6-1. Methods available on the FindServiceSoap class

    Method Description
    Find Finds geographic locations in a specified data source based on a place name. Returns an array of results as aFindResultsobject. Maximum returned values is 500. Default number of returned results is 25.
    FindAddress Finds geographic locations in a specified data source based on an address. Returns an array of possible results as aFindResultsobject. Maximum returned values is 100. Default number of returned results is 25.
    FindByID Finds points of interest based on entity ID. The found results are returned as aFindResults object.
    FindByProperty Finds points of interest based on predefined or custom properties. This method is independent of the location information such as distance and latitude/longitude. The found results are returned as aFindResultsobject.

    Table 6-1. Methods available on the FindServiceSoap class (continued)

    Method Description
    FindNearby Finds points of interest within a specified distance of a given latitude and longitude coordinate; returns an array of found points of interest ordered by proximity to a selected point as a FindResultsobject. Maximum returned values is 500. Default number of returned results is 25.
    FindNearRoute Finds points of interest within a specified distance from a route. The found results are returned as aFindResultsobject.
    FindPolygon Finds polygons in a specified data source, based on aFindPolygonSpecificationobject. The found results are returned as aFindResultsobject.
    GetLocationInfo Finds geographic entities and addresses for a specified latitude and longitude coordinate (also known as reverse geocoding). Returns an array of locations (Locationobjects). Maximum returned values is 250.
    ParseAddress Parses a specified address string and returns anAddressobject.

    In this chapter, we will go over these methods in detail; first, let’s look at some basic concepts.

    More BrainDump Articles
    More By O'Reilly Media


       · This article is an excerpt from the book "Programming MapPoint in .NET," published...
     

    Buy this book now. This article is excerpted from chapter six of the book Programming MapPoint in .NET, written by Chandu Thota (O'Reilly; ISBN: 0596009062). Check it out today at your favorite bookstore. Buy this book now.

    BRAINDUMP ARTICLES

    - Introduction to Office Live Workspace
    - Using MS Excel for One-way Analysis of Varia...
    - Comparing Data Sets Using Statistical Analys...
    - Import Blogger Posts into WordPress Using Wi...
    - Download WordPress from an FTP Server and Ru...
    - Install and Run WordPress in XAMPP Local Host
    - What Windows 7 Brings to the Table
    - Virtualization and Sandbox Detection
    - Advanced Firebug Techniques in Windows XP Ho...
    - Editing CSS with Firebug in Windows XP Home
    - Using Firebug in Windows XP Home
    - Migrating to Exchange Server 2007
    - Using System Restore on a Non-Bootable PC
    - Finding Logged on Users and More Scripting S...
    - Developing Macro Commands in MS Excel





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek