-
Notifications
You must be signed in to change notification settings - Fork 127
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
Google Map KLM convertion to GPX - GPX size #1292
Comments
It may be possible, it depends on what is in your kml that you don't want. You can use the nuketypes filter to get rid of waypoints and/or routes and/or tracks. If you have duplicate track or route data it may be possible to delete it with the track filter. You can reduce the number of points in a route or track with the simplify filter. I often use that to reduce the number of points recorded by a Garmin Edge to something Google Earth is happier with. |
Hi thank you for your suggestions. I tried the nukes... Filter. Only removing tracks and routes gave me a smaller size but for some reason it showed a different "route". Keeping tracks only or routes only gave a functional "route" but didn't reduce size. I will try to use simplify as well. Perhaps a look inside with a text editor will show me the surplus kb. Thank you again |
Update. Simplify worked a treat. GPS Studio showed that the org kml from Gmaps had 28000 point. Reducing that to 10k, 5k, 2k and finally 1k brought the gpx down to 92 kb and fully functional. Is there a way to see how many points a route has when you elect to simplify like GPS Studio has. Would be a good feature. Thank you for the help. Now I just need to make sure the gpx tracks shows up as a real name and not as track1 2 3 etc... in a text editor i guess. |
Good.
No, we don't really expose ways for you to edit your own data. We convert
and leaving editing and mapping and such to editors and maps.
RJL
…On Fri, Jul 12, 2024 at 11:15 AM Mint-me123 ***@***.***> wrote:
Update. Simplify worked a treat. GPS Studio showed that the org kml from
Gmaps had 28000 point. Reducing that to 10k, 5k, 2k and finally 1k brought
the gpx down to 92 kb and fully functional. Is there a way to see how many
points a route has when you elect to simplify like GPS Studio has. Would be
a good feature. Thank you for the help. Now I just need to make sure the
gpx tracks shows up as a real name and not as track1 2 3 etc... in a text
editor i guess.
—
Reply to this email directly, view it on GitHub
<#1292 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACCSD3667TBLELI2JHTQQRLZL76JLAVCNFSM6AAAAABKVYLPL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRVHEYDONRVGI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
You can see the number waypoints, routes and tracks by using the validate filter. I often use it twice in one invocation, once before the simplify filter and once after. Here is an example. The fit file contained 1 waypoint and 1 track with 22940 points. After simplify with an allowed error of 2 meters the track was reduced to 1170 points.
|
If your intent is to create a route to follow from a track you may wish to also use the transform filter. The del option deletes the original track after transforming it to a route, the timeless option deletes the track point timestamps. In this case the transform filter reduced the gpx size an additional 32%.
|
Is it possible to optimize the conversion from a google map KML to a GPX so the GPX stays small. Converting a 500-700 kb KML gives a 2.8 MB GPX. It is for use with a mobile app on a bike so only tracks or routes are needed nothing else. Possible. Perhaps not if google KMLs are just full of "stuff". Downloaded GPX made for bike trips are normally around 200-600 kb so that is why I thought it might be possible.
The text was updated successfully, but these errors were encountered: