MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




How to handle track of multiple objects at the same time

This is a discussion on How to handle track of multiple objects at the same time within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Language: VC++ Using: Mappoint API embedded in my own app. Hi best programmers, I would like to have some advise ...


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 (3) Thread Tools Display Modes
  3 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 12-12-2006
Member
Green Belt
 
Join Date: Nov 2006
Posts: 84
How to handle track of multiple objects at the same time

Language: VC++
Using: Mappoint API embedded in my own app.

Hi best programmers,

I would like to have some advise of you.
On the map I want to be able to follow several obejcts (in the form of cars or persons) at the same time with their passed points.

For example I have object A and object B, I can see both A and B simultaneously where they go. I get the positions via a network. I can also click on a previous point to see at wich time they where on that place.

Now suppose I have let's say about six of those objects, than what is the best way to program it? Should I use threads or is there a way to put all the pushpins of a certain object in some kind of a collection....? Does somebody have a suggestion, it's just to get an idea of wich direction I have to think.

Thank you very much.
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 12-12-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,105
Re: How to handle track of multiple objects at the same time

Hi,

In C# you have 'user data objects', in Delphi and CBuilder a 'TList', C++ probably will have something similar ?
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 12-13-2006
Member
Green Belt
 
Join Date: Nov 2006
Posts: 84
Re: How to handle track of multiple objects at the same time

Hi Wilfried,

Thank you for your reply, in MFC (wich I use) there is something like CList. I think that is what you mean. Should that be usefull to handle and proces multiple targets at the same time on the map?

Can you give me a simple example?

By the way, I really appreciate your help on this forum. Not everybody makes some precious time free to help others. So thank you Wilfried.
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 12-13-2006
Member
Green Belt
 
Join Date: Nov 2006
Posts: 84
Re: How to handle track of multiple objects at the same time

Hi all,

I want to solve this problem on the following way. For each target or object I want to follow, I'll create a pushpin set (from data set). So all the pushpins that belongs to a certain target/object are saved in its pushpin set. So when I select an old pushpin of a certain target/object, I'll get the information in the balloonfield to which target/object it belongs. Also can I draw the route based on all pushpins in the certain dataset of the target, right??

Now another problem rises up, how can I during runtime create.........
Hmmm wait a minute, now I've to make an array which can find the right target/object-name and there you can find the reference of the created pushipin set. Where you can get, for example, all the pushpin info's.

Is that an idea?
If somebody has a better suggestion, than I'm open for it
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 12-14-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,105
Re: How to handle track of multiple objects at the same time

Hi,

Yep you are on the right track

I did a quick look into the CList, and yes that's what I meanth. You mention to use several dataset, yes also good solution, and then use array (or a CList) to hold the refernces. I see there is an CArray class also. As far as I can see it is more comparable with the TList I mentioned in Delphi and CBuilder.

Thank you for the compliment. I try to look at the forum at least once a day, but I have too mutch work, so sometime there is no time left Sometime I have to eat and sleep above my keyboard (not so good) ...
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 12-15-2006
Member
Green Belt
 
Join Date: Nov 2006
Posts: 84
Wink Re: How to handle track of multiple objects at the same time

Thank you too Wilfried,

I used a gps-navigator combined with Mappoint 2006 to get on the right track

I think now I know how to solve this problem. Take a good rest my friend, programming is not all that. So when you rest all out, you can crunch the bits and the bytes in your software .
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
handle, multiple, objects, time, track


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/how-handle-track-multiple-objects-same-time-5468.html

Posted By For Type Date
MapPoint Articles - MP2K Magazine This thread Refback 12-17-2006 09:27 PM
Implementing Location-Based Functionalities with the MapPoint Web Service - MapPoint Articles - MP2K Magazine This thread Refback 12-17-2006 07:32 PM
Map Visitors - Powered by Virtual Earth This thread Refback 12-13-2006 02:32 PM

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
How best to keep track of MapPoint.Pushpins BobFromBoston MapPoint 2006/2009 Discussion 1 10-26-2005 11:28 AM
Can multiple users view and edit one map at the same time? Anonymous MapPoint 2006/2009 Discussion 1 01-20-2005 08:56 AM
How to keep track of 500+ independent reps yourbaglady MapPoint 2006/2009 Discussion 1 07-29-2004 07:56 PM
Is it possible to get a direct HANDLE to the Map? .... Anonymous MapPoint 2006/2009 Discussion 2 06-19-2002 09:05 AM
How do I import multiple datasets at one time, eac.... Anonymous MapPoint 2006/2009 Discussion 1 02-08-2002 03:15 PM


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

Flights from Birmingham
Here at Holiday Hypermarket you can book fantastic cheap flights from Birmingham Airport. Check out the great range of destinations.

Business Travel Agent
Leading Business Travel Agent. Personal service is at the heart of our business. Talk to one of our travel agents today.

Jamaica Holiday
Fancy a Jamaica Holiday? Then visit dealchecker.co.uk and find out what the big deal is. Book a bargain when you book online.

Barbados Holidays
Barbados holidays can be a wonderful break from the rat race or an exciting, action packed adventure. Plan the perfect holiday in Barbados.

Cheap Spain Holidays
Stay well informed when you are searching for cheap holidays online. For useful advice on when to book cheap Spain holidays make sure you look on ulookubook.com

Package Holidays
With the help of Travel.co.uk you can find the package holidays of your dreams.

Holidays to Goa
Golden beaches, coconut trees. Visit On The Beach for holidays to Goa, and experience India!


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