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 2 of 2

Problem with dataset.QueryShape Method

This is a discussion on Problem with dataset.QueryShape Method within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have a VB6 MapPoint addin which loops round all regions (shapes) in the UK. Everything is fine until it ...

  1. #1
    Ray Liu is offline Junior Member White Belt
    Join Date
    Jul 2004
    Posts
    1

    Problem with dataset.QueryShape Method

    I have a VB6 MapPoint addin which loops round all regions (shapes) in the UK. Everything is fine until it comes across the shape representing the Highland in Scotland. At this point, MapPoint displays the debug window and closes down.

    I think there is a limitation on the size of the shape that QueryShape can handle. The shape representing Highland comprise of over 200000 vertices.

    I thought about replacing this shape with 2 or more shapes but the MapPoint tool for editing freeform shapes is poor.

    Any other ideas would be appreciated.

  2. #2
    jdwhytie is offline Member Yellow Belt
    Join Date
    Jun 2004
    Posts
    37
    What is the error?

    Could you eliminate some of the vertices, i.e. make it less exact but not so much as to give you bad results?

    Is it the shape that is in fact causing your error, or something else about the highland region?

    I could't find anything about a limit for vertices but it does seem possible...perhaps someone knows

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VB6 error "Method 'QueryShape' of object 'DataSet' fail
    By David J in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 12-07-2005, 02:13 PM
  2. Run-time error 'Method 'UpdateLink' object 'DataSet' failed
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-18-2003, 04:53 PM
  3. Problem with the optermise method
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 07-14-2003, 10:06 AM
  4. problem with IMPORT-method
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 06-04-2003, 09:41 AM
  5. QueryShape problem Please help
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 03-13-2003, 09:57 AM

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 88 89 90 91 92 93 94 95 96