<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Commute on Breeding and genetics</title>
    <link>https://blog.xijiang.org/tags/commute/</link>
    <description>Recent content in Commute on Breeding and genetics</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 02 Jun 2026 12:57:05 +0200</lastBuildDate>
    <atom:link href="https://blog.xijiang.org/tags/commute/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Route search</title>
      <link>https://blog.xijiang.org/posts/route-search/</link>
      <pubDate>Tue, 02 Jun 2026 12:57:05 +0200</pubDate>
      <guid>https://blog.xijiang.org/posts/route-search/</guid>
      <description>&lt;p&gt;The python script&#xA;&lt;a href=&#34;https://xijiang.org/script/route-search.py&#34;&gt;route-search.py&lt;/a&gt; is a&#xA;command-line utility to query and find optimal transit connections in&#xA;Oslo using the Entur national transit database. It is optimized to&#xA;help you find the best bus, metro, and rail combinations from a&#xA;starting coordinate to a destination, matching specific arrival&#xA;constraints and jogging capabilities.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;features&#34;&gt;Features&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Automated Geocoding:&lt;/strong&gt; Translates text destinations (e.g., &lt;code&gt;&amp;quot;Oslo S&amp;quot;&lt;/code&gt;) directly into Entur&amp;rsquo;s National Stop Register IDs.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Radial Location Scan:&lt;/strong&gt; Scans all transit stops within a custom&#xA;radius (default 1.5 km) around your coordinates.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Jog Off Calculator:&lt;/strong&gt; Computes the exact time you need to leave&#xA;your coordinates (&lt;strong&gt;JOG OFF&lt;/strong&gt; time), factoring in distance, jogging&#xA;speed, and a pre-boarding buffer.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Optimal Ordering:&lt;/strong&gt; Orders connections in descending order of the&#xA;jog off time (so the latest departure is shown first).&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Flexible Modes:&lt;/strong&gt; Supports filtering by Metro (&lt;code&gt;metro&lt;/code&gt;), Bus&#xA;(&lt;code&gt;bus&lt;/code&gt;), and Train (&lt;code&gt;rail&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;installation--dependencies&#34;&gt;Installation &amp;amp; Dependencies&lt;/h2&gt;&#xA;&lt;p&gt;The script is written in &lt;strong&gt;standard Python 3&lt;/strong&gt; and requires &lt;strong&gt;no&#xA;external dependencies&lt;/strong&gt;. It uses built-in libraries (&lt;code&gt;urllib&lt;/code&gt;, &lt;code&gt;json&lt;/code&gt;,&#xA;&lt;code&gt;datetime&lt;/code&gt;, &lt;code&gt;argparse&lt;/code&gt;, etc.) out of the box.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
