<?xml version='1.0' encoding='UTF-8'?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>https://rodionov.cc/tags/walk/</id>
  <title>Alexander Rodionov - pages tagged with walk</title>
  <updated>2025-11-20T13:29:05.061485+00:00</updated>
  <author>
    <name>Alexander Rodionov</name>
  </author>
  <link href="https://rodionov.cc/tags/walk/atom.xml" rel="self" type="application/atom+xml"/>
  <link href="https://rodionov.cc/tags/walk/" rel="alternate" type="text/html"/>
  <entry>
    <id>https://rodionov.cc/walk-2024-04-01/</id>
    <title>Прогулка, сфоткал кондитерскую</title>
    <updated>2025-11-20T16:26:03+03:00</updated>
    <content type="html">&lt;p&gt;&lt;a href="https://files.tandav.me/photos/around/IMG_3209.jpg"&gt;
&lt;img src="https://files.tandav.me/img/blog/thumbnails/IMG_3209.jpg" alt="Photo of Grelka36 pastry shop and cookery in Voronezh, Russia" &gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;В Воронеже &lt;a href="https://www.openstreetmap.org/?mlat=51.66120&amp;mlon=39.19094&amp;zoom=20"&gt;51.66120,39.19094&lt;/a&gt;&lt;/p&gt;</content>
    <link href="https://rodionov.cc/walk-2024-04-01/"/>
    <published>2024-04-01T20:27:00+03:00</published>
  </entry>
  <entry>
    <id>https://rodionov.cc/walk-tracks/</id>
    <title>GPX walk tracks</title>
    <updated>2025-11-20T16:26:03+03:00</updated>
    <content type="html">&lt;p&gt;&lt;a href="https://files.tandav.me/img/blog/large/Screenshot-2024-04-02-220223.png"&gt;
&lt;img src="https://files.tandav.me/img/blog/thumbnails/Screenshot-2024-04-02-220223.png" alt="Screenshot of GPX route in browser using gpx.studio iframe. A route is in Saburtalo district of Tbilisi, Georgia" &gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I exported information about walking tracks from Apple Watch (Apple Health), there is a standard GPX format. There is no way to automate the export as Apple doesn't give a way (privacy blah blah blah). Maybe in the future I will do tracks through some other application where I don't need to unload the whole history with a huge archive every time.&lt;/p&gt;
&lt;p&gt;Here is a python script that searches for faraway from current home tracks. (I don't worry about past rental places).&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-python"&gt;import functools
import shutil
import gpxpy
import tqdm
import gpxpy.gpx
from pathlib import Path
from geopy.distance import geodesic

home_coordinates = 0.0, 0.0  # redacted

@functools.cache
def gpx_meters_from_point(
    gpx_path: str,
    point: tuple[float, float],
    min_meters: float = 100,
) -&amp;gt; float:
    with open(gpx_path) as gpx_file:
        gpx = gpxpy.parse(gpx_file)

    meters = None

    for track in gpx.tracks:
        for segment in track.segments:
            for _point in segment.points:
                _meters = geodesic((_point.latitude, _point.longitude), point).meters
                meters = _meters if meters is None else min(meters, _meters)
    if meters is None:
        raise ValueError(f'no points found in gpx file {gpx_path}')
    return meters
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Copy to a public folder (which is then copied to the server) tracks that are further than 3000 meters:&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-python"&gt;gpx_dir = Path('/Users/tandav/Desktop/apple_health_export/workout-routes')
gpx_public_dir = Path('/Users/tandav/docs/files-tandav-me/routes/routes/gpx')
gpx_files = list(gpx_dir.glob('*.gpx'))

for p in tqdm.tqdm(gpx_files):
    if gpx_meters_from_point(p, home_coordinates) &amp;lt; 3000:
        continue
    shutil.copy(p, gpx_public_dir / p.name)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;There is &lt;a href="https://gpx.studio/"&gt;gpx.studio&lt;/a&gt; which has ability to &lt;a href="https://gpx.studio/about.html#embed"&gt;render gpx filex from your server in iframe&lt;/a&gt;. But you have to setup CORS headers. Here is headers for Caddy:&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-Caddyfile"&gt;files.tandav.me {
    root * /srv

    @gpxFiles {
        path *.gpx
    }
    header @gpxFiles Access-Control-Allow-Origin &amp;quot;https://gpx.studio&amp;quot;

    file_server {
        browse
    }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The list of my walk tracks is at &lt;a href="https://files.tandav.me/walk-tracks/"&gt;files.tandav.me/walk-tracks/&lt;/a&gt;. A screenshot of some walk track is at the beggining of the post.&lt;/p&gt;</content>
    <link href="https://rodionov.cc/walk-tracks/"/>
    <summary>Python code to analyze GPX files from apple watch for walk tracks</summary>
    <published>2024-04-02T21:35:00+03:00</published>
  </entry>
  <entry>
    <id>https://rodionov.cc/walk-2024-03-07/</id>
    <title>Прогулка, утки, fake-whale</title>
    <updated>2025-11-20T16:26:03+03:00</updated>
    <content type="html">&lt;p&gt;&lt;a href="https://files.tandav.me/img/blog/large/walk-2024-04-07/IMG_3227.jpeg"&gt;
&lt;img src="https://files.tandav.me/img/blog/thumbnails/walk-2024-04-07/IMG_3227.jpeg"/ &gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://files.tandav.me/img/blog/large/walk-2024-04-07/IMG_3228.jpeg"&gt;
&lt;img src="https://files.tandav.me/img/blog/thumbnails/walk-2024-04-07/IMG_3228.jpeg"/ &gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://files.tandav.me/img/blog/large/walk-2024-04-07/IMG_3232.jpeg"&gt;
&lt;img src="https://files.tandav.me/img/blog/thumbnails/walk-2024-04-07/IMG_3232.jpeg"/ &gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://files.tandav.me/img/blog/large/walk-2024-04-07/IMG_3233.jpeg"&gt;
&lt;img src="https://files.tandav.me/img/blog/thumbnails/walk-2024-04-07/IMG_3233.jpeg"/ &gt;
&lt;/a&gt;&lt;/p&gt;</content>
    <link href="https://rodionov.cc/walk-2024-03-07/"/>
    <published>2024-04-07T20:46:00+03:00</published>
  </entry>
  <entry>
    <id>https://rodionov.cc/walk-2024-05-25/</id>
    <title>Прогулка, самокаты, водохранилище</title>
    <updated>2025-11-20T16:26:03+03:00</updated>
    <content type="html">&lt;p&gt;&lt;a href="https://files.tandav.me/img/blog/large/walk-2024-05-25/IMG_3476.jpeg"&gt;
&lt;img src="https://files.tandav.me/img/blog/thumbnails/walk-2024-05-25/IMG_3476.jpeg" alt="Photo of Alexander Rodionov on Vogres bridge in Voronezh, Russia" &gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://files.tandav.me/img/blog/large/walk-2024-05-25/IMG_3479.jpeg"&gt;
&lt;img src="https://files.tandav.me/img/blog/thumbnails/walk-2024-05-25/IMG_3479.jpeg" alt="Another photo of Alexander Rodionov on Vogres bridge in Voronezh, Russia" &gt;
&lt;/a&gt;&lt;/p&gt;</content>
    <link href="https://rodionov.cc/walk-2024-05-25/"/>
    <published>2024-05-25T21:18:00+03:00</published>
  </entry>
  <entry>
    <id>https://rodionov.cc/2025-07-26-5miles/</id>
    <title>Побегал в парке с ребятами</title>
    <updated>2025-11-20T16:26:03+03:00</updated>
    <content type="html">&lt;p&gt;Была такая штука &lt;a href="https://en.wikipedia.org/wiki/Parkrun"&gt;Parkrun&lt;/a&gt;, основана в UK, потом распространилась по миру. Каждую субботу в 9 утра в парке собираются люди и бегут 5 километров.&lt;/p&gt;
&lt;p&gt;После гойды в России запретили использовать этот бренд и они переименовались в &lt;a href="https://5verst.ru/"&gt;5 Верст&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Сходил, побегал.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://files.tandav.me/img/blog/large/2025-07-26-5-miles/icNIwD9C5GL2Wy33Ln2owFNtdEz_OIayXSWacajH0kAmCSQUGc6JfgLjRo7r2jOhZ0-f3khknePdci63PwX4M6Zm.jpg"&gt;
&lt;img src="https://files.tandav.me/img/blog/large/2025-07-26-5-miles/O8NUTmWVDsT1bPnDbpdm-YzYggR97fNrjNtx58Vv0vf3Wf7xB43x4xP9hT-rLosNV4TFNdsn3P4aqfQ2Huaf8fVv.jpg"&gt;
&lt;img src="https://files.tandav.me/img/blog/large/2025-07-26-5-miles/Faa0_sfyBqCt7RKUyEVCtvW4WQWDAWxwtd9ccU_AtPNb5rr3BfZFHQJ80z1mNC41r1fiMzWpg_UxVD2ZzSnBUroH.jpg"&gt;
&lt;img src="https://files.tandav.me/img/blog/large/2025-07-26-5-miles/zPazcYTXo3igIDUv98pjIwSKDiXjqifotLrtwZpRRMhKcp1gzyENGb8CLr1pMaCMUKhAaBbLYVmcOKL-wzXw9nwG.jpg"&gt;
&lt;img src="https://files.tandav.me/img/blog/large/2025-07-26-5-miles/R78kzqNaydWfgBFhVfq0RLGEZ4x6JBilbXeTb_8If1j8EKpJ17u68kotqpUMO58wfp87u1WMYtqf4MXUMBnJ1ciV.jpg"&gt;
&lt;img src="https://files.tandav.me/img/blog/large/2025-07-26-5-miles/vnyhKVmybUsLTMw9Frw3NH4RUWQEdvUVBpTnVxMKNf4-LY1kCRiv9dv_SzKlUoHNSE1ivOtcWAnIBisxkVHvHi1T.jpg"&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://vk.com/album-149322382_307939164"&gt;Все фото&lt;/a&gt;&lt;/p&gt;</content>
    <link href="https://rodionov.cc/2025-07-26-5miles/"/>
    <published>2025-07-26T13:53:42+03:00</published>
  </entry>
</feed>
