Route map: Jarasandh killing


This route map is generated from data returned by /mb/v2/journeys/{name} endpoint, with full details (?expand=true) where {name} = Jarasandh killing.

To see a larger image, click the image.

Route map for Jarasandh killing


On this page


What this map shows

At first glance, what stands out immediately is the circular route:

From this map, it is evident that the travellers went out of their way to conceal their travel till they reached their destination (Magadh).

What to explore next

Endpoint to use for this map

/mb/v2/journeys/Jarasandh killing returns the following response:

{
  "journeyEvent": "Rajasuya yagya",
  "journeyName": "Jarasandh killing",
  "journeyPersons": [
    "Arjun",
    "Bheem",
    "Krishna"
  ],
  "journeyRoute": [
    "Indraprastha",
    "Kurujangal to Kalakuta",
    "Kalakuta to the east to Mithila",
    "Mithila to Magadh",
    "Girivraj",
    "Girivraj to Indraprastha"
  ]
}

It’s the journeyRoute list that is of interest here. To get detailed route information, use the ?expand=true query parameter.

...
  "journeyRoute": [
    "Indraprastha",
    "Kurujangal to Kalakuta",
    "Kalakuta to the east to Mithila",
    "Mithila to Magadh",
    "Girivraj",
    "Girivraj to Indraprastha"
  ],
  "journeyRouteFull": [null, {
      "pathCurrent": [
        "Hapur (India)",
        "Garhmukteshwar (India)",
        "Gajraula (India)",
        "Dhampur (India)",
        "Kalagarh (India)"
      ],
      "pathNameEpic": "Kurujangal to Kalakuta"
    },
    {
      "pathCurrent": [
        "Kalagarh (India)",
        "Kashipur (India)",
        "Pantnagar (India)",
        "Pilibhit (India)",
        "Lakhimpur Kheri (India)",
        "Bahraich (India)",
        "Shravasti (India)",
        "Kapilvastu (Nepal)",
        "Kudiya (Nepal)",
        "Bagaha (Nepal)",
        "Birganj (Nepal)",
        "Mithila (Nepal)"
      ],
      "pathNameEpic": "Kalakuta to the east to Mithila"
    },
    {
      "pathCurrent": [
        "Mithila (Nepal)",
        "Janakpur (Nepal)",
        "Madhubani (India)",
        "Darbhanga (India)",
        "Samastipur (India)",
        "Patna (India)",
        "Rajgir (India)"
      ],
      "pathNameEpic": "Mithila to Magadh"
    },
    null, {
      "pathCurrent": [
        "Rajgir (India)",
        "Varanasi (India)",
        "Kaushambi (India)",
        "Mathura (India)",
        "New Delhi (India)"
      ],
      "pathNameEpic": "Girivraj to Indraprastha"
    }
  ]
...

Cartographic libraries

The following components were used to generate the map:

Algorithm

  1. Geocode the place names (GeoPy).
  2. Create point geometries from the coordinates (Shapely).
  3. Store the geometries in a geospatial data frame (GeoPandas).
  4. Create the figure and axes (Matplotlib).
  5. Add the terrain basemap tiles (Contextily).
  6. Plot the locations and export the image (GeoPandas + Matplotlib).

Related