MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Problem with dataset.QueryShape Method

This is a discussion on Problem with dataset.QueryShape Method within the MapPoint 2006/2009 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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

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



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-15-2004
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.
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 07-15-2004
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
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
datasetqueryshape, method, problem


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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
VB6 error "Method 'QueryShape' of object 'DataSet' fail David J MapPoint 2006/2009 Discussion 2 12-07-2005 02:13 PM
Run-time error 'Method 'UpdateLink' object 'DataSet' failed Anonymous MapPoint 2006/2009 Discussion 0 09-18-2003 04:53 PM
Problem with the optermise method Anonymous MapPoint 2006/2009 Discussion 0 07-14-2003 10:06 AM
problem with IMPORT-method Anonymous MapPoint 2006/2009 Discussion 1 06-04-2003 09:41 AM
QueryShape problem Please help Anonymous MapPoint 2006/2009 Discussion 2 03-13-2003 09:57 AM


All times are GMT -5. The time now is 10:33 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


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