Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 3 of 3

Polygon Datasource error

This is a discussion on Polygon Datasource error within the Bing Maps and MapPoint Web Service 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 ...

  1. #1
    stathis30_2000 is offline Junior Member White Belt
    Join Date
    Dec 2007
    Posts
    6

    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

  2. #2
    stathis30_2000 is offline Junior Member White Belt
    Join Date
    Dec 2007
    Posts
    6

    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.

  3. #3
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4

    Re: Polygon Datasource error

    Cool, thanks for following up!

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. datasource xml file
    By menaka.ca in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-13-2006, 01:20 PM
  2. New DataSource Unavailable?
    By bryker in forum Bing Maps and MapPoint Web Service
    Replies: 2
    Last Post: 02-19-2006, 04:31 PM
  3. Is new datasource MapPointNAICS.NA support findnearby Method
    By saad in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-18-2005, 02:08 AM
  4. Acxiom DataSource
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-30-2003, 07:34 AM
  5. Distance from Polygon
    By random0000 in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-14-2003, 09:18 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87