GPS2KML WinCE on GpsPasSion forum
GPS2KML connects WinCE PNA with notebook as GPS receiver and placemark server for GoogleEarth.
Why one need GPS2KML?
GoogleEarth is wonderfull, but luck windows CE version. It can only be run on PC. In addition free version of GoogleEarth do not support real time GPS receivers. Last point is PNA which do not work as GPS receiver for PC.
Besides GoogleEarth there are a lot of other GPS software which can't be run on PNA.
How things work?
Free version of GoogleEarth have ability to configure placemarks. A placemark can be configured as network link. This network link must return placemark data and viewpoint parameters on requests from GoogleEarth. GoogleEarth allows to configure refresh period in placemark's properties. All we need is generate placemark data dynamically from GPS coordinates and GoogleEarth will follow PNA. GPS2KML do this job and return placemark and viewpoint data in KML format as required for GoogleEarth.
Time to turn magic into reality. We need only two things to do this:
GPS2KML designed to work as placemark server in WindowsCE PNA environment.
Besides GoogleEarth there are a lot of other usefull GPS programs which one may need. It would be nice idea to connect this programs running on PC with GPS port in PNA. With virtual serial port driver on PC side and GPS2KML on PNA side this connection is also possible.
GPS2KLM runs on PNA with WindowsCE and .NET compact framework installed. If you do not have .NETCF installed then you can get it from Microsoft site.
After installing .NETCF just copy GPS2KML to any location at PNA filesystem.
Connecting PNA with Host computer
To make Google Earth on host computer follow PNA, we need to provide TCP connection from host to PNA via USB cable. To serve GoogleEarth requests, GPS2KML listens for incoming connections on port 31874.
For Windows based host computer
To enable TCP connection from host to PNA via ActiveSync connection, we would need to enable port proxy in Windows CE Services. To do this, run regedit and browse to the following registry key
Linux host computer
One can use SynCe to provide connectivity with PNA via activesync USB connection. SynCE is freely available from project site http://www.synce.org/
Creating GoogleEarth Placemark
To make Google Earth follow PNA lets setup network placemark. In My Places rightclick with mouse and select Add->Network Link.
In network Link properties
Name : GPS2KLM
Hint: Linux users can see PNA IP address and port in the title of GPS2KML frame when it is started on PNA. It detects IP automatically.
Hint: one may like to change flight speed in GoogleEarth settings, otherwise with default value it's fly too slow.
Connecting GPS2KML with virtual serial port
This only required if you want to emulate GPS on serial port for other navigation programs on host PC. With GPS2KML on PNA and virtual serial port driver on PC your navigation programs may run as if GPS is connected directly to native com port on PC.
Fow windows users, I'd recommend HW VSP virtual serial port driver. Single port version is freely available from HW-GROUP site.
Below is recommended settings for HW VSP version 3.x singleport driver.
First connect PNA to host computer with USB cable.
Actually order might be different but in other case depending on order you would need to force GPS2KML to reconnect to vspd or force GoogleEarth to reconnect to network link.
When connection to PNA is lost GoogleEarth stops refreshing network link. To repair, rightclick on GoogleEarth placemark and select "refresh" item.
WARRANTIES AND DISCLAIMERS
ALL INFORMATION, SOFTWARE AND SERVICES OFFERED ON THIS WEBSITE ARE PROVIDED "AS IS". AUTHOR HEREBY EXPRESSLY DISCLAIMS ANY WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.
AUTHOR MAKES NO WARRANTY, REPRESENTATION OR GUARANTY AS TO THE CONTENT, SEQUENCE, ACCURACY, TIMELINESS OR COMPLETENESS OF THE INFORMATION, SOFTWARE OR SERVICES. AUTHOR MAKES NO WARRANTY, REPRESENTATION OR GUARANTY THAT THE INFORMATION, PRODUCTS OR SERVICES WILL BE UNINTERRUPTED OR ERROR FREE OR THAT ANY DEFECTS CAN BE CORRECTED.
AUTHOR ASSUMES NO RESPONSIBILITY FOR ERRORS OR OMISSIONS IN THE INFORMATION, SOFTWARE OR SERVICES WHICH ARE REFERENCED BY OR LINKED TO THIS WEBSITE.
IN NO EVENT SHALL AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, THOSE RESULTING FROM LOSS OF BUSINESS, DATA OR REVENUE, RELIANCE ON THE MATERIALS PRESENTED, DELAYS OR BUSINESS INTERRUPTIONS, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF INFORMATION) WHETHER OR NOT AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
THE DOWNLOADING AND USE OF ANY SOFTWARE OR SERVICES OFFERED ON THE WEBSITE IS DONE AT YOUR OWN DISCRETION AND RISK AND YOU WILL BE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM, LOSS OF DATA, OR OTHER HARM THAT RESULTS FROM SUCH ACTIVITIES.
Copyright 2010 firstname.lastname@example.org