Translate posts to Experimental | Feedback
Google
Official Google Earth Download Site
Page 1 of 3 1 2 3 >
Topic Options
Rate This Topic
Previous Topic
View All Topics Index
Next Topic
#77346 - 08/01/05 10:27 AM GPS Tracker - Updated ***
ivanavitch Offline
Traveler

Registered: 07/16/05
Posts: 40
Loc: Brisbane, Australia
[fixed Regional setting problem with decimal separator]

Second Attempt
I posted this earlier and it seems no-one could get NMEA output. Serves me right for developing the NMEA stuff on W98 (where my serial port is) and only testing the server side on XP (laptop with USB only). After I got a USB GPS running on the laptop I saw the error of my ways.

To Repeat
This is PM ware. If you try it and it works (or doesn't) please send me a PM to tell me you are happy (or unhappy). If you think you need to send money then donate it to your favourite childrens charity. PM me a picture of their smiling faces.

More functionality in this version. If you have a Garmin try it in the Demo mode. Make a small route with relatively closely spaced waypoints. I think it makes for stunning visuals.

Don't reset the refresh for less than 2 seconds because that is the update rate of the GPS.

Read the readme.txt inside the zip formore instruction.

Please try it. Feedback VERY WELCOME from GPS users.

regards

John Scott


Attachments
58365-gps.zip (5301 downloads)
Preview this file with the Google Earth Plugin (learn more)


Edited by ivanavitch (08/03/05 09:15 AM)

Top
#77347 - 08/01/05 12:53 PM Re: GPS Tracker - Second Try [Re: ivanavitch]
Sirous_Nekooei Offline
World Explorer

Registered: 07/10/05
Posts: 344
Loc: Mashhad, Iran
Graet, It works!
Applause, Hurrah, well done....

Continue your efforts, please.

I have not tried it on my laptop on-the-go, but in case I do, how it will save my track?

Sirous

Top
#77348 - 08/02/05 03:22 AM Re: GPS Tracker - Second Try [Re: Sirous_Nekooei]
ivanavitch Offline
Traveler

Registered: 07/16/05
Posts: 40
Loc: Brisbane, Australia
Thanks Sirous
I'm sorry but I haven't written the bread crumb / log file yet. Judging by the responses not many people are interested.

If others have tried it and are interested in additional features then please post. Otherwise I'll let this drop and get back to developing for myself.

regards

John Scott

Top
#77349 - 08/02/05 12:05 PM Re: GPS Tracker - Second Try [Re: ivanavitch]
csmk Offline
Traveler

Registered: 03/08/03
Posts: 38
Loc: Swansea, Wales, UK
This is exactly what I was looking for, thanks

I will test it this weekend with the GPS tracker I have in my car!

Top
#77350 - 08/02/05 02:04 PM Re: GPS Tracker - Second Try [Re: ivanavitch]
gigabyte Offline
Traveler

Registered: 08/02/05
Posts: 10
Loc: Cte d'Azur, France
No please do not stop.

Your program was exactly what I was looking for, this would be a mess if you resign.

I tried it in my car (with my wife as co-pilot) and its great - Even better that Oziexplorer or any other moving map prog thanks to the quality of the graphics.

Just one wish, the limitation to 122 waypoints is very small and when I reach this limit, the prog crashes with the following message : 1.6 is not an integer (I just remind this,I forgot to write it down when it appeared).

Keep up the good work, and thank you very much.

Top
#77351 - 08/02/05 05:19 PM Re: GPS Tracker - Second Try [Re: ivanavitch]
Rodrigo_Ratan Offline
Traveler

Registered: 08/02/05
Posts: 5
Hi John! I'm working on a similar program too..

I'm writing a .NET interface with some sliders (Tilt, Heading and Altitude View) that delivery KML (XML) files @ 80 Port so I can Network Link to it..

To follow the placemark it's ok., but i don't know why the camera don't follow the tilt and head commands in the refreshview mode.. only when i click on it... Does anyone have any idea?

I'm using Google Earth Free (yes, it allow to use Dynamic Links, no need to use GPS module of Google Earth because that feature only download stored points, not real time.. may be in the next versions)

What plataform are you using? C++?

If you want to share some ideas and may be join in a task force to do an better program, my personal mail is rodrigoratan@gmail.com

Top
#77352 - 08/02/05 09:07 PM Re: GPS Tracker - Second Try [Re: ivanavitch]
Rodrigo_Ratan Offline
Traveler

Registered: 08/02/05
Posts: 5
Hi again John Scott ,

I tried your new version. Now its updates the KML with my NMEA sentence, but i don't know why it show my waypoint different from my real location (@ 92 KM NorthEast, in fact)

And plus: if i double-click the "My Marker" link it redirect my view to North Pole!!..

This is the generated KML using your version:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0">
<Document>
<open>1</open>
<LookAt>
<longitude>-46,6299000</longitude>
<latitude>-23,5670933</latitude>
<range>6700</range>
<tilt>69</tilt>
<heading>0,00</heading>
</LookAt>
<Placemark>
<description>Speed - 20,0 kph</description>
<name>My Marker</name>
<open>1</open>
<styleUrl>root://styles#default</styleUrl>
<Style>
<IconStyle>
<Icon>
<href>root://icons/palette-2.png</href>
<x>0</x>
<y>32</y>
<w>32</w>
<h>32</h>
</Icon>
</IconStyle>
</Style>
<Point>
<extrude>1</extrude>
<altitudeMode>absolute</altitudeMode>
<coordinates>-46,6299000,-23,5670933,774,5</coordinates>
</Point>
</Placemark>
</Document>
</kml>

If you are interested in have some help, I study GPS tech since 2002 and i'm a VB, VB.NET and C#. Net experienced programmer (also perl, php, asp, from old times) and a little bit before I saw your experience I was also trying to do a very similar program

You may contact me at rodrigoratan@gmail.com

Thanks in advance for your time

Rodrigo Ratan

Top
#77353 - 08/03/05 03:22 AM For Rodrigo_Ratan and International Users [Re: Rodrigo_Ratan]
ivanavitch Offline
Traveler

Registered: 07/16/05
Posts: 40
Loc: Brisbane, Australia
Thanks for the message Rodrigo.

I see you are from Brazil from your location. Your location also caused the problem.

Your longitude is shown as -46,6299000 with a comma ( , ) as the decimal separator. Google Earth expects a period (fullstop) thus ( . ) as the decimal separator. GE is only reading the integer portion of your lat and lon. This explains the 92km NE displacement.

I use a function called format() to write floating point numbers. Evidently format() takes your local settings and inserts a comma ( , ) instead of a period ( . )

Go to the Control Panel. Under Regional settings change the Decimal symbol to a period ( . ). I believe the default for Portuguese (Brazil) is a comma ( , ).

I will write a format() routine which will return the numbers as GE likes no matter where you are located.

Please reply if I am on the right track.

regards

John Scott


Edited by ivanavitch (08/03/05 03:25 AM)

Top
#77354 - 08/03/05 05:23 AM For gigabyte - How many waypoints in a route? [Re: gigabyte]
ivanavitch Offline
Traveler

Registered: 07/16/05
Posts: 40
Loc: Brisbane, Australia
gigabyte

I think I can see your problem. As I said initially, this software was developed with an etrex legend which has a limit of 125 waypoints per route.

Thus I allocate memory for 125 waypoints per route. What type of gps do you have? What is the max waypoints per route.

I am trying to recreate your error and will repost when I fix it.

John Scott

Top
#77355 - 08/03/05 08:40 AM Re: For gigabyte - How many waypoints in a route? [Re: ivanavitch]
gigabyte Offline
Traveler

Registered: 08/02/05
Posts: 10
Loc: Cte d'Azur, France
Hi John,

My GPS device is a Holux GPS antenna plugged into my toshiba laptop.

Therefore, I do not have any problem of waypoint limit but the 100Go of my HD.

Did I thank you for your work, I think yes but you deserve it twice

Gilles

Top
Page 1 of 3 1 2 3 >