MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




FindNearRoute with NavTech.NA question

This is a discussion on FindNearRoute with NavTech.NA question within the MapPoint Web Service and Virtual Earth forums, part of the Map Forums category; Code snippet (we already have a valid route returned…also if we use the CoffeeSample example we get results) FindNearRouteSpecification findnearroutespec ...


Go Back   MapPoint Forums > Map Forums > MapPoint Web Service and Virtual Earth

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (3) Thread Tools Display Modes
  3 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 01-25-2007
Craig - Infonow
White Belt
 
Join Date: Jan 2007
Posts: 3
Send a message via AIM to cgoudy Send a message via MSN to cgoudy Send a message via Yahoo to cgoudy
FindNearRoute with NavTech.NA question

Code snippet (we already have a valid route returned…also if we use the CoffeeSample example we get results)
FindNearRouteSpecification findnearroutespec =
new FindNearRouteSpecification();
findnearroutespec.setDataSourceName("NavTech.NA");
findnearroutespec.setFilter(new FindFilter());
findnearroutespec.getFilter().setEntityTypeName("SICInd554");
findnearroutespec.setDistance(20);
findnearroutespec.setRoute(route);

findResults = findService.findNearRoute(findnearroutespec);



The start of the request:
sd="http://www.w3.org/2001/XMLSchema" xmlnssi="http://www.w3.org/2001/XMLSchema-instance">NavTech.NA




Error message:
{http://s.mappoint.net/mappoint-30/}Type:MapPointArgumentException
{http://s.mappoint.net/mappoint-30/}Message:The requested data source does not support the Find Near Route method. Argument: specification.DataSourceName
{http://s.mappoint.net/mappoint-30/}Argument:specification.DataSourceName


On Microsft's web site it says this about FindNearRoute:

DataSourceCapability Enumeration displays this information regarding whether or not FindNearRoute is usable with the NavTech.NA data source:
CanFindNearby Indicates whether whether you can use the FindServiceSoap.FindByID, FindServiceSoap.FindByProperty, FindServiceSoap.FindNearby, and FindServiceSoap.FindNearRoute methods with the specified DataSource object. You can use the FindByID, FindByProperty, and FindNearRoute methods only with your private point-of-interest data sources and the MapPoint.FourthCoffeeSample data source.

I managed to get information back from the FourthCoffeeSample just fine so I have a couple of questions:
1) Do I need to subscribe to NavTech.NA data source to be able to use it?

2) if not do you see any flaws in the way I am accessing the service
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
findnearroute, navtechna, question


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/findnearroute-navtech-na-question-5618.html

Posted By For Type Date
Using MapPoint and Excel for Supply Chain Management - MapPoint Articles - MP2K Magazine This thread Refback 02-04-2007 09:34 PM
Determing the Time Zone in MapPoint - MapPoint Articles - MP2K Magazine This thread Refback 02-01-2007 02:09 PM
The Magazine for MapPoint - MP2K Magazine This thread Refback 01-28-2007 05:41 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
vb.net to c# question... starbuck MapPoint 2006/2009 Discussion 0 09-14-2004 04:07 AM
question Anonymous Wish List 0 07-12-2004 06:05 AM
Navtech streets Anonymous MapPoint 2006/2009 Discussion 2 03-11-2004 02:47 AM
Map-In-A-Box updated with latest NavTech and GDT data Anonymous News and Announcements 0 10-02-2003 08:37 AM


All times are GMT -5. The time now is 07:35 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Cheap Ski Holidays Austria
For the best cheap ski holidays, Austria has a charm all of its own. Check out the unspoilt, picturesque villages with superb ski resorts of all types.

Travel Agent Service
Looking for a Travel Agent Service? Travel Counsellors are a Queen's Award winning Travel Agent.

Cape Town Flights
Book Cape Town flights through dealchecker.co.uk to get a great deal. Cape Town has fantastic weather and a wide range of activities to keep you busy.

Cancun Holidays
Cancun holidays offer beautiful scenery, calm waters and plenty of shopping. Get a taste of the good life while on holiday in Cancun.

Holidays
For bargain holidays to destinations including Mexico, South Africa, India and more, visit ULookUBook online today. Check out our free travel guides to help you make an informed decision for your holidays.

Travel Guides
As far as travel guides are concerned, your best move would be to check out our website at Travel.co.uk

Holidays to Fuerteventura
Come on; jump on the plane to the Canary Islands. Get information on cheap holidays to Fuerteventura at On The Beach.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52