MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




MapPoint error 4-40028-1 : Solution

This is a discussion on MapPoint error 4-40028-1 : Solution within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Just for information about MapPoint Error 4-40028-1 : this error is not documented in MapPoint online help nor KB nor ...


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 11-18-2004
Junior Member
White Belt
 
Join Date: Nov 2004
Posts: 1
MapPoint error 4-40028-1 : Solution

Just for information about MapPoint Error 4-40028-1 : this error is not documented in MapPoint online help nor KB nor formum, so I spent a few time to find the reason : it occurs when you try to draw a line between two locations (objMap>>Shapes>>AddLine(objLoc1,objLoc2)) and whend the distance between these two points is 0.
Have a nice day !
Etienne NEUVILLE
48.87744N-2.28782E
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 01-05-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Hi

I have exactly this error.

I think it's probably an error about 2 identical coordinates...

But I get this error when i use the ZoomOut() function ??? (in debug mode of VS.NET C# 2003)...
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 01-07-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Hi

I have just found that this error is thrown also when :

I have 2 coordinates :
p1(lat1,long1)
p2(lat2,long2)

When we add the 2 points on a map, here are the possible errors :

(E1) IF lat1==lat2 AND long1==long2 THEN ERROR 4-40028-1
(E2) IF lat1==lat2 AND long1<>long2 THEN ERROR 4-40028-1


The second case (E2) is very problematic to me because we have an application tracking vehicles and sometimes between 2 coordinates the latitude is the same but not the longitude...

To me it's a bug... What do you think of this ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 02-15-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Hi,

I just have the same error when i'm trying to remove some relationships...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 02-15-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,105
Hi,

Same error is reported a short while ago. Also it hade to do with lat1 == lat2 if my volatile memory is right

a workaround could be to check the latitude, and if it is same then increase one of them with a small value, eg 0.00001 whitch is a little more than 1 meter.

maybe it is better to catch the exception and if exception occure the change the value.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 01-11-2008
Junior Member
White Belt
 
Join Date: Aug 2007
Posts: 3
Re: MapPoint error 4-40028-1 : Solution

Hi,

I tried it with MapPoint 2002, it looks like at least one coordinate in adjacent locations in line must differ at least by 0.00001.
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
error, mappoint, solution


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
Web based Mapping Solution sar70 MapPoint Web Service and Virtual Earth 0 04-27-2006 01:28 AM
About ERROR 4-40028-1. Error or Bug ? Anonymous MapPoint 2006/2009 Discussion 12 01-11-2005 09:32 AM
New to MapPoint, Advice on this solution . . . Anonymous MapPoint 2006/2009 Discussion 0 02-04-2004 07:49 AM
[VB6 + MP2K] : How to know that... I found the solution ! Vincent BENNER MapPoint 2006/2009 Discussion 0 11-21-2003 04:18 AM
Ambigous results : MapPoint doesn't take the right solution? Vincent BENNER MapPoint 2006/2009 Discussion 1 01-22-2003 02:57 AM


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

Ski Chalet Holidays
Considering ski chalet holidays? Why not find out what your options our using the simple ski holiday search online at Holiday Hypermarket. Why not check it out now?

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

Thailand Holidays
Thailand Holidays can suit your budget when you book with dealchecker.co.uk. If you are strapped for cash, visit online to find the deal for you.

Jamaica Holidays
Jamaica holidays give you the chance to enjoy the vibrant cultural heritage and wonderful laid back atmosphere of the Caribbean. Book here!

Holiday
Searching for the perfect holiday? Well check out ULookUBook online to find out all about your destination and also to book a great value holiday.

Cheap Travel
Travel.co.uk is a travel comparison service which makes it easy to search and find your cheap travel options.

Cheap holidays to Portugal
Enjoy a spectacular country at a fraction of the cost. Find information on cheap holidays to Portugal 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