folder="C:\\drorbn\\Album\\2025.03.07_San_Gabriel_Mountains_Ride";
SetDirectory[folder];

nbd=Select[FileNames["*","C:\\drorbn\\Album"], FileType[#]==Directory&];
len=Length[nbd]
loc=Position[nbd,folder][[1,1]];
DeleteFile[nbd[[Mod[#,len,1]]]<>"\\index.html"]& /@ (loc+{1,-1});

fs=Echo@Take[FileNames["*.gpx"],All];
data=Union@Table["Geometry"/.Import[f,"Data"],{f,fs}];
path=Echo@GeoGraphics[{Red,data},
GeoGridRangePadding->Scaled[0.1],
GeoScaleBar->"Kilometers"
];
Export["Path%.png",path]

path3D=Echo@ResourceFunction["GeoElevationGraphics3D"][{Red,data},
GeoGridRangePadding->0,
GeoScaleBar->"Kilometers",
ViewPoint->{0.03392552524370772`,-1.9374148986729356`,2.774035430404068`},ViewVertical->{-0.014353130476599685`,0.8196768842397942`,0.5726463071464487`}
];
Export["Path3D.png",path3D]

PathLocation=Module[{R=3000,r=40,n=6,res=600},
ImageAssemble[
Partition[#,3]&@Table[
Rasterize[
GeoGraphics[{Red,Thickness[(2n-k)/1000],data},
GeoCenter->Mean@Cases[data,GeoPosition[l_List]:>Mean[l],∞] ,
GeoRange->Quantity[R(((r/R))^((k-1)/(n-1))),"Kilometers"],
GeoScaleBar->"Kilometers",
ImageSize->res
],
RasterSize->res
],
{k,n}],
"Fit",Background -> White]
]
Export["PathLocation.png",PathLocation]

ResetDirectory[]

folder="C:\\drorbn\\Album\\2025.03.07_San_Gabriel_Mountains_Ride";
SetDirectory[folder];
If[Head[PensieveDirectives]===List, ImageComments="ImageComments"/.PensieveDirectives,ImageComments={}];
(Interpretation[ImageResize[Import@#,400],#]->(#/.ImageComments/.(#->"")))&/@FileNames["*.jpg"|"*.jpeg"|"*.png"|"*.mp4"]

68.7km, with 1550m of climbs, a day before giving a < a href = http : // drorbn . net/pi25 > talk < /a > in Saturday conference in Pitzer College . I was meaning to take the Glendora Ridge Road further to the west, ride along the San Gabriel reservoir, head south to Azusa, and return to Claremont on city roads . But things don’t always work exactly as planned .
 < p > When I reached the little town of Mt . Baldy, I found a closed gate (easily trespassable) and sign saying that the Glendora Ridge Road is closed . I was about to turn and head back down to Claremont, but then a truck came from the other side of the gate, belonging I think to some contractors who were doing road work in the closed section . They re - iterated that the road is closed, and yet implied quite clearly that nothing terrible will happen if I’ll cross the gate and continue along the road . I think they meant well, but they didn’t realize how much further along the road I was meaning to go .
 < p > At first, things were great! The road was in sufficient condition, the views were amazing, and I had both of them mostly for myself - with the occasional road works machinery as the exception .
 < p > Around 15km and a few hundreds meters of ups and down later, there was another roadblock . This time it was manned and the man there was very definite : \”go back!\” . So I backtracked to Claremont; my longest backtrack ever . (Not that the ones < a href =. ./2024.07.27_Beijing - _Western_Hills_Ride/index . html > near Beijing < /a > and < a href =. ./2022.06.11_Thornbury_to_Owen_Sound_Return_Ride/index . html > near Owen Sound < /a > were any fun) .
 < p > To top it up, about 10km before the end it started to rain, and about 5km before the end it turned into a thunderstorm, with some hail to make it even more fun . (Rain in California is exactly the same as rain in < a href =. ./2024.11.09 - 10_Bruce_Hikes_37 - 38 - _The_Beaver_River_Valley_(Heading_South)/index . html > Canada < /a > it gets you wet) .

{
"TitleNotes" ->"68.7km, with 1,550m of climbs, on a bike I borrowed from <a class=external href=https://sites.google.com/view/helenwong/home>Helen</a>, a day before giving a <a href=http://drorbn.net/pi25>talk</a> in a Saturday conference in Pitzer College. I was meaning to take the Glendora Ridge Road further to the west, ride along the San Gabriel reservoir, head south to Azusa, and return to Claremont on city roads. But things don't always work exactly as planned.
<p>When I reached the little town of Mt. Baldy, I found a closed gate (easily trespassable) and sign saying that the Glendora Ridge Road is closed. I was about to turn and head back down to Claremont, but then a truck came from the other side of the gate, belonging I think to some contractors who were doing road work in the closed section. They re-iterated that the road is closed, and yet implied quite clearly that nothing terrible will happen if I'll cross the gate and continue along the road. I think they meant well, but they didn't realize how much further along the road I was meaning to go.
<p>At first, things were great! The road was in sufficient condition, the views were amazing, and I had both of them mostly for myself - with the occasional road works machinery as the exception.
<p>Around 15km and a few hundreds meters of ups and down later, there was another roadblock. This time it was manned and the man there was very definite: \"go back!\". So I backtracked to Claremont; my longest backtrack ever. (Not that the ones <a href=../2024.07.27_Beijing-_Western_Hills_Ride/index.html>near Beijing</a> and <a href=../2022.06.11_Thornbury_to_Owen_Sound_Return_Ride/index.html>near Owen Sound</a> were any fun).
<p>To top it up, about 10km before the end it started to rain, and about 5km before the end it turned into a thunderstorm, with some hail to make it even more fun. (Rain in California is exactly the same as rain in <a href=../2024.11.09-10_Bruce_Hikes_37-38-_The_Beaver_River_Valley_(Heading_South)/index.html>Canada</a> it gets you wet).
<p>The last 4 photos are from the following day at Pitzer College.",
"ImageComments" ->{}
}