Hi, just made a set of waypoints for a trip using Google Earth,
and found that a lot of the points (PlaceMarks) weren't brought in by
gpsbabel -i kml -o gpx mnpls.kml mnpls.gpx
because they were <MultiGeometry><Point/><LineString/></MultiGeometry>
instead of just <Point/>
This small python script replaces the MultiGeometries with the first
Point within them, allowing gpsbabel to make a GPX with all the
points.
https://gist.github.com/tbnorth/30c37ab45852eeafb378So:
python kml_multigeom_points.py < mnpls.kml > mnpls_pts.kml
gpsbabel -i kml -o gpx mnpls_pts.kml mnpls.gpx
QGIS didn't load all the points either, FWIW.
Cheers -Terry
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140_______________________________________________
Gpsbabel-misc mailing list
http://www.gpsbabel.org[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc