Community of VE/MapPoint Users and Developers
This is a discussion on Get new Lat & Lon from speed within the MapPoint 2006 Discussion forums, part of the Map Forums category; Hello, Any one wants to share knowledge regarding how to get new latitude and longitude from speed after defining default ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Get new Lat & Lon from speed Any one wants to share knowledge regarding how to get new latitude and longitude from speed after defining default latitude and longitude. As in mine case I am not using GPS hardware just make pushpin as random and placing it in loop so that it will act as moving on map. Hope to hear from you guys. Regards. Gul |
| ||||
| Re: Get new Lat & Lon from speed
I'm not sure I understand.. you want to get a new position based on the speed (and direction ?) and starting position? Eric
__________________ Order MapPoint 2006 | Read Programming MapPoint in .NET | Start Using the Pushpin Tool - Free Trial Download - click here. |
| |||
| Re: Get new Lat & Lon from speed
Well I have lat & lon as inputs and I want to calculate how much lat & lon has to change when a object is moving with a defined speed. Only the direction will be random in this case so that it will act as mine pushpin keep on moving. Regards.. |
| ||||
| Re: Get new Lat & Lon from speed
Does the pushpin need to stay on the road network? Or just move in a different random direction say every second? Eric
__________________ Order MapPoint 2006 | Read Programming MapPoint in .NET | Start Using the Pushpin Tool - Free Trial Download - click here. |
| ||||
| Re: Get new Lat & Lon from speed
The speed is random or the direction is random or both?
__________________ Order MapPoint 2006 | Read Programming MapPoint in .NET | Start Using the Pushpin Tool - Free Trial Download - click here. |
| |||
| Re: Get new Lat & Lon from speed
As per ys Code: The speed is random or the direction is random or both? Well in mine mind I will get ground speed from NMEA(GPRMC), and it will place in random then add it in both Lat & Lon so that it will keep on changing the speed randomly and because of this direction will change.... am I right. Or you have some better idea. |
| ||||
| Re: Get new Lat & Lon from speed
I'm sorry.. I still don't get it. So you're getting actual speed from NMEA(GPRMC) or a device, but you don't want to plot an actual position.. just have it move randomly at that speed, changing direction every second? I guess it might help to take a step back and explain the purpose of what you are trying to do.. ![]() Eric
__________________ Order MapPoint 2006 | Read Programming MapPoint in .NET | Start Using the Pushpin Tool - Free Trial Download - click here. |
| |||
| Re: Get new Lat & Lon from speed
Well let you describe from start. I want to develop an application which don't use hardware. In mine project i have inputs for Latitude & Longitude. I want to show it on map as random like moving object and calculate how much lat & lon has to change when a object is moving with a defined speed, Only the direction will be random(like moving onject). (its more like data comes from original GPS but in this i am not using GPS hardware, just act as dummy). Code: In mine mind i think if i will set some default speed in the beginning with lat & lon, it keeps on showing me next position if i will use random(input speed); so what do u think about it. |
| ||||
| Re: Get new Lat & Lon from speed
Is it supposed to be a vehicle on the road network? Or a creature like a bird that could just fly anywhere? What country or what part of the world are you working it? In the U.S., one degree of longitude is roughly equal to 50 miles or 80 km, and a degree of latitude is equal to 65 miles or 105 km. It would be rough, but with some simple math and the Pythagorean theorem you could calculate how much to modify lat/lon each second for a particular speed and direction. How far did you get with your code, what do you need help with specifically? Eric
__________________ Order MapPoint 2006 | Read Programming MapPoint in .NET | Start Using the Pushpin Tool - Free Trial Download - click here. |
![]() |
| ||||
| Posted By | For | Type | Date | |
| Formatting Coordinates with DmsFormat - MapPoint Articles - MP2K Magazine | This thread | Refback | 2 Days Ago 09:29 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I speed up this code? | RichardD | MapPoint 2006 Discussion | 5 | 11-18-2005 10:55 AM |
| Open Map Speed | Yazzy | MapPoint 2006 Discussion | 1 | 06-27-2005 10:52 AM |
| Speed of the service | sbedin | MapPoint Web Service and Virtual Earth | 0 | 12-21-2004 10:13 AM |
| Excel VBA or VB6 For Speed | DavidP | MapPoint 2006 Discussion | 3 | 08-14-2004 05:50 PM |
| Speed Print out | Anonymous | MapPoint 2006 Discussion | 0 | 12-26-2003 04:54 AM |
Ski Holidays Bulgaria
Ski holidays in Bulgaria offer beautiful scenery, friendly locals and exceptionally low prices. Book at Holiday Hypermarket for great value ski holidays.
Business Travel Agent
Book your business travel with a specialist business travel agent. Travel Counsellors are an award winning travel agent.
Holiday Jamaica
What springs to mind when you hear the word Jamaica? Bob Marley and Rum? Think again. Book a low cost holiday in Jamaica to explore this island for yourself.
St Lucia Holidays
St Lucia holidays offer something for everyone. Enjoyed by families and young couples alike, St Lucia is a great destination. See online!
Spain
Spain is such a diverse country that it has something to offer most holidaymakers. Finding delicious cuisine is no challenge and the shopping ranges from designer boutiques to unknown flea markets. Spain has much to offer.
Cheap Travel
Travel.co.uk is a travel comparison service which makes it easy to search and find your cheap travel options.
Cheap holidays in Cyprus
Stunning coastline! Beautiful beaches! Cheap holidays in Cyprus, available at On The Beach.