http://code.google.com/p/gpicsync/
It'll tag pics from your digital camera from your GPS's GPX file,
assuming of course you had your GPS on at the same time you had your
camera on, and that your camera and GPS are set to the same time.
The point: the free app gpicsync will spit out a KML file...and the
GPX track will show as a polyline in the KML, with the pictures as
clickable thumbnails like bread crumbs along the route/track...sooooo
I don't think you absolutely have to have a picture, and believe you
could probably just upload you GPX to the gpicsync app, and spit out a
KML.
Hope this helps, and let us know if gpicsync works for ya'll
Forrest
That sounds the ticket. If you could post the basic code (I can
probably strip out stuff not needed) that would be hugely helpful.
Cheers
Paul
var lats=new Array();
var lngs=new Array();
$(parseXml($("#gpxdata").val())).find('trkpt').each(function(){
var lat = parseFloat($(this).attr('lat'));
var lng = parseFloat($(this).attr('lon'));
lats.push(latn);
lngs.push(lngn);
}
I use it to let the website visitor paste a gpx-file into a form, and
plot a line for the track. Drawing the line from the lats/lngs array
is straightforward.