Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RE: Errors and Running Your Application #3

Closed
silver2row opened this issue May 11, 2022 · 0 comments
Closed

RE: Errors and Running Your Application #3

silver2row opened this issue May 11, 2022 · 0 comments

Comments

@silver2row
Copy link

Hello,

I had an error of no connection at first. I restarted the gpsd.service and everything works just as stated. Thank you for making this lib. available.

It is working well so far. I got some help from a person on writing to files in your gpsdclient lib. It helps to keep files of specifics.

oh!

Are there any resources you know of currently for porting to .kml files for Google Earth views? I was going to power my device, take a couple miles out of my day to move around w/ the device, and then hopefully put them manually into a .kml file for viewing in Google Earth.

I think the .kml files need to have a specific way of being managed:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<Style id="yellowPoly">
<LineStyle>
<color>7f00ffff</color>
<width>4</width>
</LineStyle>
<PolyStyle>
<color>7f00ff00</color>
</PolyStyle>
</Style>
<Placemark><styleUrl>#yellowPoly</styleUrl>
<LineString>
<extrude>1</extrude>
<tesselate>1</tesselate>
<altitudeMode>absolute</altitudeMode>
<coordinates>
 
# Here are where the coordinates go in "LAT, LON" and etc.
 
</coordinates>
</LineString></Placemark>
 
</Document></kml>

I guess I could pipe the results of my .txt file to a .kml file at a particular section in the file.

Seth

P.S. Anyway, if you are good with Python3 and your lib, please let me know if you have an online resource for this particular method of promoting .txt to .kml to Google Earth. Sorry if this is off topic. It can be closed if it is too far off. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant