ivanavitch
Tourist
Reged: 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
Edited by ivanavitch (08/03/05 09:15 AM)
|
Sirous_Nekooei
Tourist
Reged: 07/10/05
Posts: 341
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
|
ivanavitch
Tourist
Reged: 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
|
csmk
Tourist
Reged: 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!
|
gigabyte
Tourist
Reged: 08/02/05
Posts: 10
Loc: Côte 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.
|
Rodrigo_Ratan
Tourist
Reged: 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
|
Rodrigo_Ratan
Tourist
Reged: 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
|
ivanavitch
Tourist
Reged: 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)
|
ivanavitch
Tourist
Reged: 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
|
gigabyte
Tourist
Reged: 08/02/05
Posts: 10
Loc: Côte 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
|