MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Polygon Datasource error

This is a discussion on Polygon Datasource error within the MapPoint Web Service and Virtual Earth forums, part of the Map Forums category; Hi all, I started using mapPoint web service recently so I am facing some problems. I created a polygon datasource ...


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
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 12-24-2007
Junior Member
White Belt
 
Join Date: Dec 2007
Posts: 5
Polygon Datasource error

Hi all,

I started using mapPoint web service recently so I am facing some problems.
I created a polygon datasource and I uploaded it successfully to mapPoint server.
The datasource contains 34 polygons.
The problem is that when I request the map (with the datasource painted on it), only 25 polygons are painted instead of 34. Even If I put more polygons in the datasource only 25 are painted!
I use the staging enviroment of the web service. Is this problem some kind of limitation ?
My vb code looks like this :

Dim findSpec As New FindByIDSpecification
findSpec.DataSourceName = mydatasource
findSpec.EntityIDs = myIDs

Dim ff As New FindFilter
ff.EntityTypeName = "poly"
findSpec.Filter = ff

Dim foundResults As New FindResults
foundResults = findService.FindByID(findSpec)

The property foundResults.Results.Length is always 25.
I verified through the customer service site that there are 34 records in the datasource.

Please help
ST
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 12-29-2007
Junior Member
White Belt
 
Join Date: Dec 2007
Posts: 5
Re: Polygon Datasource error

I finally found out the solution ! In case somebody has the same problem, I added the following code :

Dim fo As New FindOptions
Dim fr As New FindRange

fr.Count = number_of_polygons
fo.Range = fr
findSpec.Options = fo ' findspec as FindByIDSpecification

ST.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 12-29-2007
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,322
Blog Entries: 1
Re: Polygon Datasource error

Cool, thanks for following up!

Eric
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
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


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/polygon-datasource-error-6936.html

Posted By For Type Date
The Magazine for MapPoint - MP2K Magazine This thread Refback 12-31-2007 09:50 PM

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
datasource xml file menaka.ca MapPoint 2006/2009 Discussion 1 10-13-2006 01:20 PM
New DataSource Unavailable? bryker MapPoint Web Service and Virtual Earth 2 02-19-2006 04:31 PM
Is new datasource MapPointNAICS.NA support findnearby Method saad MapPoint 2006/2009 Discussion 1 08-18-2005 02:08 AM
Acxiom DataSource Anonymous MapPoint 2006/2009 Discussion 1 09-30-2003 07:34 AM
Distance from Polygon random0000 MapPoint 2006/2009 Discussion 1 04-14-2003 09:18 PM


All times are GMT -5. The time now is 02:07 AM.


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

Flights to Poland
An increasing number of cheap flights to Poland make Warsaw a city not to miss. Holiday Hypermarket help to book great value flights and accommodation too.

Personal Travel Agent'
Whatever your travel needs your personal Travel Agent can help. Travel Counsellors are a Queen's Award winning Travel Agent

Holidays to Thailand
The best cultures and backgrounds make Thailand an interesting and memorable country to visit. Book great value holidays to Thailand online at dealchecker.co.uk.

Barbados Holidays
Barbados holidays can be a wonderful break from the rat race or an exciting, action packed adventure. Plan the perfect holiday in Barbados.

Cheap Morocco Holidays
Cheap Morocco holidays may be the answer to your cheap holiday search. With sunshine throughout most of the year it can be great value if you avoid the peak season. Why not include a trip to the small tranquil town of Chefchaouen Tangier in your visit?

Compare holiday prices
Compare holiday prices online where you can see all the possibilities at Travel.co.uk

Portugal Holidays
We specialise in Portugal holidays. Visit our On The Beach website for more information.


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