Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Get new Lat & Lon from speed within the MapPoint 2006/2009 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 ...
| |||||||
| Today's Posts | Twitter Feed | 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
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
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
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
__________________ |
![]() |
| Tags |
| lat, lon, speed |
| ||||
| Posted By | For | Type | Date | |
| Formatting Coordinates with DmsFormat - MapPoint Articles - MP2K Magazine | This thread | Refback | 05-14-2008 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/2009 Discussion | 5 | 11-18-2005 10:55 AM |
| Open Map Speed | Yazzy | MapPoint 2006/2009 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/2009 Discussion | 3 | 08-14-2004 05:50 PM |
| Speed Print out | Anonymous | MapPoint 2006/2009 Discussion | 0 | 12-26-2003 04:54 AM |
Lanzarote Holiday
Enjoy a Lanzarote holiday when you check out the offers on UlookUbook and save cash!
Restaurant reviews
Read these restaurant reviews online to make your decision easier.