MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




problem exporting a route

This is a discussion on problem exporting a route within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi! I have a big problem.. When I load a route (database of Lat/Long positions) and insert it into mappoint, ...


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 10-22-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
problem exporting a route

Hi!

I have a big problem..

When I load a route (database of Lat/Long positions) and insert it into mappoint, it's very slow (I can understand it) but when I GetLocations of this points, the findresults method returns me a general position. For Example, if I have a position in Av. Diagonal (Barcelona) mappoint returns me "Barcelona", when I need "Av. Diagonal".

A solution can be like this (in vbasic):


'************************************************* ******
Set Coordenadas = Frmprincipal.MPC.ActiveMap.GetLocation(Latitud, Longitud, 0)

Coordenadas.GoTo

Frmprincipal.MPC.ActiveMap.ZoomIn
Frmprincipal.MPC.ActiveMap.ZoomIn

Set Resultado = Frmprincipal.MPC.ActiveMap.ObjectsFromPoint(Frmpri ncipal.MPC.ActiveMap.LocationToX(Coordenadas), Frmprincipal.MPC.ActiveMap.LocationToY(Coordenadas ))

If Resultado.Count > 0 Then
Locate_String = Resultado(1).Name
Else
Locate_String = "???"
End If

Frmprincipal.MPC.ActiveMap.ZoomOut
Frmprincipal.MPC.ActiveMap.ZoomOut
'************************************************* ******

This Process of make/unmake 2 zooms and a Location.Goto takes 3 minutes with a 250 positions routes in a p3 1000 Mhz :(

Is there any solution to get more accuracy positions within this technique?


Thanks,
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 10-22-2002
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Pepero,

I have to admit I don't understand all of your post but I will try my best to help if I can.

One thing I think I see is rather than zooming in two times, just set the Altitude to what you need: the Zero after the last comma is where you could set the Altitude

"Set Coordenadas = Frmprincipal.MPC.ActiveMap.GetLocation(Latitud, Longitud, 0) "

'the Zero after the last comma is where you could set the Altitude . Here I've changed it to 100

"Set Coordenadas = Frmprincipal.MPC.ActiveMap.GetLocation(Latitud, Longitud, 100) "

You can also set the Altitude of the current map anytime:
objApp.ActiveMap.Altitude = 10
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
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
exporting, problem, route


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
Exporting Help Circpro MapPoint 2006/2009 Discussion 0 01-19-2005 08:10 PM
please help exporting ! ToddF MapPoint 2006/2009 Discussion 2 04-26-2004 12:12 PM
How do I calculate a route distance without displaying route spideybud MapPoint 2006/2009 Discussion 4 09-09-2003 11:14 AM
Exporting Route Schedule to Outlook Calendar Anonymous MapPoint 2006/2009 Discussion 2 07-18-2003 01:52 PM
Exporting map/route image Anonymous MapPoint 2006/2009 Discussion 1 09-10-2002 09:29 AM


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