{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "0643c9bb",
   "metadata": {},
   "outputs": [],
   "source": [
    "import os,sys,time,garmin_img_to_osmand_v4,pandas as pd\n",
    "filepath = r\"D:\\maps-bg\\gmapsupp\\gmapsupp.img\"\n",
    "\n",
    "sys.argv = ['garmin_img_to_osmand_v4.py', filepath, '--list-mapsets']\n",
    "garmin_img_to_osmand_v4.main()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "62b84044",
   "metadata": {},
   "outputs": [],
   "source": [
    "#take from previous output\n",
    "temp = \"\"\"00234008\t21.467285,43.637695,22.038574,44.033203\n",
    "00234009\t21.972656,43.637695,22.543945,44.033203\n",
    "00234010\t22.456055,43.637695,23.027344,44.033203\n",
    "00234011\t22.961426,43.637695,23.532715,44.033203\n",
    "00234012\t23.466797,43.637695,24.038086,44.033203\n",
    "00234020\t21.467285,43.308105,22.038574,43.703613\n",
    "00234021\t21.972656,43.308105,22.543945,43.703613\n",
    "00234022\t22.456055,43.308105,23.027344,43.703613\n",
    "00234023\t22.961426,43.308105,23.532715,43.703613\n",
    "00234024\t23.466797,43.308105,24.038086,43.703613\n",
    "00234032\t21.467285,42.978516,22.038574,43.374023\n",
    "00234033\t21.972656,42.956543,22.543945,43.395996\n",
    "00234034\t22.456055,42.978516,23.027344,43.374023\n",
    "00234035\t22.961426,42.978516,23.532715,43.374023\n",
    "00234036\t23.466797,42.978516,24.038086,43.374023\n",
    "00234044\t21.467285,42.604980,22.038574,43.044434\n",
    "00234045\t21.972656,42.626953,22.543945,43.022461\n",
    "00234046\t22.456055,42.626953,23.027344,43.022461\n",
    "00234047\t22.961426,42.626953,23.532715,43.022461\n",
    "00234048\t23.466797,42.604980,24.038086,43.044434\n",
    "00234056\t21.467285,42.297363,22.038574,42.692871\n",
    "00234057\t21.972656,42.297363,22.543945,42.692871\n",
    "00234058\t22.456055,42.297363,23.027344,42.692871\n",
    "00234059\t22.961426,42.297363,23.532715,42.692871\n",
    "00234060\t23.466797,42.297363,24.038086,42.692871\n",
    "00234068\t21.467285,41.967773,22.038574,42.363281\n",
    "00234069\t21.972656,41.967773,22.543945,42.363281\n",
    "00234070\t22.456055,41.967773,23.027344,42.363281\n",
    "00234071\t22.961426,41.967773,23.532715,42.363281\n",
    "00234072\t23.466797,41.967773,24.038086,42.363281\n",
    "00234080\t21.467285,41.638184,22.038574,42.033691\n",
    "00234081\t21.972656,41.638184,22.543945,42.033691\n",
    "00234082\t22.456055,41.638184,23.027344,42.033691\n",
    "00234083\t22.961426,41.638184,23.532715,42.033691\n",
    "00234084\t23.466797,41.638184,24.038086,42.033691\n",
    "00234092\t21.467285,41.308594,22.038574,41.704102\n",
    "00234093\t21.972656,41.308594,22.543945,41.704102\n",
    "00234094\t22.456055,41.308594,23.027344,41.704102\n",
    "00234095\t22.961426,41.308594,23.532715,41.704102\n",
    "00234096\t23.466797,41.308594,24.038086,41.704102\n",
    "00234104\t21.467285,40.979004,22.038574,41.374512\n",
    "00234105\t21.972656,40.957031,22.543945,41.396484\n",
    "00234106\t22.456055,40.979004,23.027344,41.374512\n",
    "00234107\t22.961426,40.979004,23.532715,41.374512\n",
    "00234108\t23.466797,40.979004,24.038086,41.374512\n",
    "00234116\t21.467285,40.605469,22.038574,41.044922\n",
    "00234117\t21.972656,40.627441,22.543945,41.022949\n",
    "00234118\t22.456055,40.605469,23.027344,41.044922\n",
    "00234119\t22.961426,40.627441,23.532715,41.066895\n",
    "00234120\t23.466797,40.627441,24.038086,41.022949\n",
    "00235001\t23.972168,43.637695,24.543457,44.033203\n",
    "00235002\t24.455566,43.637695,25.026855,44.033203\n",
    "00235003\t24.960938,43.637695,25.532227,44.033203\n",
    "00235004\t25.466309,43.637695,26.037598,44.033203\n",
    "00235005\t25.971680,43.637695,26.542969,44.033203\n",
    "00235006\t26.455078,43.637695,27.026367,44.033203\n",
    "00235007\t26.960449,43.637695,27.531738,44.033203\n",
    "00235008\t27.465820,43.637695,28.037109,44.033203\n",
    "00235009\t27.971191,43.637695,28.542480,44.033203\n",
    "00235010\t28.454590,43.637695,29.025879,44.033203\n",
    "00235013\t23.972168,43.308105,24.543457,43.703613\n",
    "00235014\t24.455566,43.308105,25.026855,43.703613\n",
    "00235015\t24.960938,43.308105,25.532227,43.703613\n",
    "00235016\t25.466309,43.308105,26.037598,43.703613\n",
    "00235017\t25.971680,43.308105,26.542969,43.703613\n",
    "00235018\t26.455078,43.308105,27.026367,43.703613\n",
    "00235019\t26.960449,43.308105,27.531738,43.703613\n",
    "00235020\t27.465820,43.308105,28.037109,43.703613\n",
    "00235021\t27.971191,43.308105,28.542480,43.703613\n",
    "00235022\t28.454590,43.308105,29.025879,43.703613\n",
    "00235025\t23.972168,42.956543,24.543457,43.395996\n",
    "00235026\t24.455566,42.978516,25.026855,43.374023\n",
    "00235027\t24.960938,42.978516,25.532227,43.374023\n",
    "00235028\t25.466309,42.956543,26.037598,43.395996\n",
    "00235029\t25.971680,42.978516,26.542969,43.374023\n",
    "00235030\t26.455078,42.978516,27.026367,43.374023\n",
    "00235031\t26.960449,42.978516,27.531738,43.374023\n",
    "00235032\t27.465820,42.978516,28.037109,43.374023\n",
    "00235033\t27.971191,42.978516,28.542480,43.374023\n",
    "00235034\t28.454590,42.978516,29.025879,43.374023\n",
    "00235037\t23.972168,42.626953,24.543457,43.022461\n",
    "00235038\t24.455566,42.626953,25.026855,43.066406\n",
    "00235039\t24.960938,42.604980,25.532227,43.044434\n",
    "00235040\t25.466309,42.604980,26.037598,43.044434\n",
    "00235041\t25.971680,42.626953,26.542969,43.022461\n",
    "00235042\t26.455078,42.626953,27.026367,43.022461\n",
    "00235043\t26.960449,42.626953,27.531738,43.022461\n",
    "00235044\t27.465820,42.604980,28.037109,43.044434\n",
    "00235045\t27.971191,42.626953,28.542480,43.022461\n",
    "00235046\t28.454590,42.626953,29.025879,43.022461\n",
    "00235049\t23.972168,42.297363,24.543457,42.692871\n",
    "00235050\t24.455566,42.297363,25.026855,42.692871\n",
    "00235051\t24.960938,42.297363,25.532227,42.692871\n",
    "00235052\t25.466309,42.297363,26.037598,42.692871\n",
    "00235053\t25.971680,42.297363,26.542969,42.692871\n",
    "00235054\t26.455078,42.297363,27.026367,42.692871\n",
    "00235055\t26.960449,42.297363,27.531738,42.692871\n",
    "00235056\t27.465820,42.297363,28.037109,42.692871\n",
    "00235057\t27.971191,42.297363,28.542480,42.692871\n",
    "00235058\t28.454590,42.297363,29.025879,42.692871\n",
    "00235061\t23.972168,41.967773,24.543457,42.363281\n",
    "00235062\t24.455566,41.967773,25.026855,42.363281\n",
    "00235063\t24.960938,41.967773,25.532227,42.363281\n",
    "00235064\t25.466309,41.967773,26.037598,42.363281\n",
    "00235065\t25.971680,41.967773,26.542969,42.363281\n",
    "00235066\t26.455078,41.967773,27.026367,42.363281\n",
    "00235067\t26.960449,41.967773,27.531738,42.363281\n",
    "00235068\t27.465820,41.967773,28.037109,42.363281\n",
    "00235069\t27.971191,41.967773,28.542480,42.363281\n",
    "00235070\t28.454590,41.967773,29.025879,42.363281\n",
    "00235073\t23.928223,41.638184,24.543457,42.033691\n",
    "00235074\t24.455566,41.638184,25.026855,42.033691\n",
    "00235075\t24.960938,41.638184,25.532227,42.033691\n",
    "00235076\t25.466309,41.638184,26.037598,42.033691\n",
    "00235077\t25.971680,41.638184,26.542969,42.033691\n",
    "00235078\t26.455078,41.638184,27.026367,42.033691\n",
    "00235079\t26.960449,41.638184,27.531738,42.033691\n",
    "00235080\t27.465820,41.638184,28.037109,42.033691\n",
    "00235081\t27.971191,41.638184,28.542480,42.033691\n",
    "00235082\t28.454590,41.638184,29.025879,42.033691\n",
    "00235085\t23.972168,41.308594,24.543457,41.704102\n",
    "00235086\t24.455566,41.308594,25.026855,41.704102\n",
    "00235087\t24.960938,41.308594,25.532227,41.704102\n",
    "00235088\t25.466309,41.308594,26.037598,41.704102\n",
    "00235089\t25.971680,41.308594,26.542969,41.704102\n",
    "00235090\t26.455078,41.308594,27.026367,41.704102\n",
    "00235091\t26.960449,41.308594,27.531738,41.704102\n",
    "00235092\t27.465820,41.308594,28.037109,41.704102\n",
    "00235093\t27.971191,41.308594,28.542480,41.704102\n",
    "00235094\t28.454590,41.308594,29.025879,41.704102\n",
    "00235097\t23.972168,40.979004,24.543457,41.374512\n",
    "00235098\t24.455566,40.979004,25.026855,41.374512\n",
    "00235099\t24.960938,40.979004,25.532227,41.374512\n",
    "00235100\t25.466309,40.979004,26.037598,41.374512\n",
    "00235101\t25.971680,40.957031,26.542969,41.396484\n",
    "00235102\t26.455078,40.979004,27.026367,41.374512\n",
    "00235103\t26.960449,40.979004,27.531738,41.374512\n",
    "00235104\t27.465820,40.979004,28.037109,41.374512\n",
    "00235105\t27.971191,40.957031,28.542480,41.396484\n",
    "00235106\t28.454590,40.979004,29.025879,41.374512\n",
    "00235109\t23.972168,40.605469,24.543457,41.044922\n",
    "00235110\t24.455566,40.627441,25.026855,41.066895\n",
    "00235111\t24.960938,40.627441,25.532227,41.066895\n",
    "00235112\t25.466309,40.605469,26.037598,41.044922\n",
    "00235113\t25.971680,40.627441,26.542969,41.022949\n",
    "00235114\t26.455078,40.627441,27.026367,41.022949\n",
    "00235115\t26.960449,40.627441,27.531738,41.022949\n",
    "00235116\t27.465820,40.627441,28.037109,41.022949\n",
    "00235117\t27.971191,40.605469,28.542480,41.044922\n",
    "00235118\t28.454590,40.627441,29.025879,41.022949\n",
    "00334140\t21.467285,43.967285,22.038574,44.362793\n",
    "00334141\t21.972656,43.967285,22.543945,44.362793\n",
    "00334142\t22.456055,43.967285,23.027344,44.362793\n",
    "00334143\t22.961426,43.967285,23.532715,44.362793\n",
    "00334144\t23.466797,43.967285,24.038086,44.362793\n",
    "00335133\t23.972168,43.967285,24.543457,44.362793\n",
    "00335134\t24.455566,43.967285,25.026855,44.362793\n",
    "00335135\t24.960938,43.967285,25.532227,44.362793\n",
    "00335136\t25.466309,43.967285,26.037598,44.362793\n",
    "00335137\t25.971680,43.967285,26.542969,44.362793\n",
    "00335138\t26.455078,43.967285,27.026367,44.362793\n",
    "00335139\t26.960449,43.967285,27.531738,44.362793\n",
    "00335140\t27.465820,43.967285,28.037109,44.362793\n",
    "00335141\t27.971191,43.967285,28.542480,44.362793\n",
    "00335142\t28.454590,43.967285,29.025879,44.362793\n",
    "\"\"\"\n",
    "map_segments = []\n",
    "for line in temp.split(\"\\n\"):\n",
    "    map_segments.append(line.split(\"\t\")[0])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "5098b3b5",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "166\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 12426 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234008.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234008\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 29206 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234009.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234009\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 49837 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234010.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234010\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 34511 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234011.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234011\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 21317 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234012.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234012\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 16332 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234020.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234020\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 18338 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234021.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234021\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 65255 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234022.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234022\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 50550 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234023.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234023\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 52291 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234024.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234024\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 16796 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234032.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234032\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 10722 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234033.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234033\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 29640 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234034.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234034\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 81285 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234035.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234035\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 74238 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234036.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234036\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 19257 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234044.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234044\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 25082 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234045.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234045\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 74637 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234046.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234046\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 97254 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234047.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234047\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 86552 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234048.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234048\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 19892 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234056.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234056\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 24164 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234057.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234057\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 83929 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234058.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234058\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 102867 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234059.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234059\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 85536 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234060.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234060\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 21327 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234068.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234068\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 25648 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234069.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234069\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 93244 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234070.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234070\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 95659 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234071.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234071\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 87693 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234072.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234072\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 17174 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234080.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234080\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 9509 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234081.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234081\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 32370 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234082.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234082\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 87156 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234083.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234083\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 64314 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234084.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234084\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 20973 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234092.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234092\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 9504 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234093.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234093\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 23400 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234094.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234094\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 57427 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234095.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234095\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 66269 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234096.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234096\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 16109 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234104.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234104\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 10782 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234105.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234105\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 10677 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234106.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234106\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 12875 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234107.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234107\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 12262 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234108.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234108\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 15736 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234116.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234116\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 16877 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234117.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234117\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 33526 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234118.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234118\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 16712 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234119.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234119\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 19421 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00234120.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00234120\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 15207 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235001.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235001\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 18905 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235002.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235002\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 5408 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235003.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235003\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 27521 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235004.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235004\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 46333 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235005.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235005\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 39517 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235006.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235006\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 38899 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235007.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235007\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 31622 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235008.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235008\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 12488 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235009.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235009\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 3977 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235010.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235010\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 41705 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235013.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235013\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 40103 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235014.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235014\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 47809 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235015.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235015\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 40218 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235016.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235016\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 41787 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235017.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235017\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 41413 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235018.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235018\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 41532 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235019.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235019\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 57938 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235020.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235020\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 37771 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235021.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235021\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 8629 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235022.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235022\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 61607 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235025.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235025\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 57779 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235026.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235026\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 55322 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235027.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235027\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 59634 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235028.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235028\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 57578 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235029.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235029\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 62385 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235030.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235030\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 53259 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235031.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235031\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 72586 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235032.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235032\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 15170 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235033.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235033\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 2050 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235034.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235034\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 77615 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235037.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235037\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 81521 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235038.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235038\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 87975 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235039.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235039\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 66649 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235040.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235040\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 62423 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235041.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235041\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 48112 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235042.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235042\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 59775 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235043.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235043\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 39086 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235044.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235044\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 1955 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235045.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235045\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 1249 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235046.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235046\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 68131 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235049.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235049\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 68625 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235050.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235050\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 66784 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235051.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235051\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 55564 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235052.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235052\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 58151 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235053.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235053\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 50437 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235054.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235054\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 41507 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235055.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235055\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 31826 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235056.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235056\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 1628 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235057.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235057\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 1183 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235058.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235058\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 77797 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235061.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235061\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 79091 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235062.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235062\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 53084 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235063.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235063\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 48842 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235064.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235064\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 43928 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235065.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235065\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 47552 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235066.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235066\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 45933 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235067.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235067\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 46095 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235068.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235068\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 1533 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235069.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235069\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 714 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235070.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235070\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 57401 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235073.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235073\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 72077 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235074.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235074\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 80836 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235075.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235075\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 63479 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235076.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235076\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 49841 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235077.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235077\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 12991 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235078.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235078\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 9473 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235079.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235079\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 30768 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235080.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235080\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 2984 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235081.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235081\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 1463 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235082.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235082\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 42783 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235085.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235085\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 76534 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235086.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235086\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 97837 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235087.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235087\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 83842 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235088.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235088\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 23569 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235089.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235089\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 4300 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235090.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235090\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 3290 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235091.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235091\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 6649 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235092.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235092\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 7617 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235093.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235093\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 1021 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235094.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235094\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 21974 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235097.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235097\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 9252 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235098.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235098\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 22816 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235099.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235099\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 11763 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235100.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235100\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 4863 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235101.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235101\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 3285 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235102.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235102\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 2835 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235103.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235103\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 4428 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235104.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235104\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 4963 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235105.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235105\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 6871 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235106.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235106\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 28800 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235109.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235109\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 18445 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235110.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235110\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 1875 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235111.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235111\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 8761 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235112.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235112\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 6618 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235113.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235113\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 3516 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235114.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235114\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 3327 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235115.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235115\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 628 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235116.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235116\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 727 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235117.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235117\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 1048 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00235118.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00235118\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 19203 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00334140.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00334140\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 14599 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00334141.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00334141\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 44329 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00334142.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00334142\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 9213 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00334143.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00334143\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 12483 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00334144.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00334144\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 14636 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00335133.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00335133\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 16819 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00335134.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00335134\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 8399 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00335135.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00335135\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 13169 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00335136.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00335136\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 8785 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00335137.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00335137\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 17398 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00335138.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00335138\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 19334 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00335139.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00335139\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 9528 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00335140.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00335140\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 9848 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00335141.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00335141\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 5168 features from 1 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-00335142.csv\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Parsed  00335142\n",
      "Parsed  \n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[info] parsed 0 features from 0 mapsets\n",
      "[info] wrote landmark CSV: export_landmarks\\landmarks-.csv\n"
     ]
    }
   ],
   "source": [
    "print(len(map_segments))\n",
    "for msegment in map_segments:\n",
    "    sys.argv = ['garmin_img_to_osmand_v4.py', filepath, '--mapset',msegment,\"--landmarks-csv\",f\"export_landmarks/landmarks-{msegment}.csv\"]\n",
    "    garmin_img_to_osmand_v4.main()\n",
    "    print(\"Parsed \",msegment)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "id": "95f78b64",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "<StringArray>\n",
      "[   '0x0d',    '0x09',    '0x02', '0x10401', '0x10004', '0x10000', '0x10f01',\n",
      " '0x1fd0c', '0x10118', '0x10319', '0x10302', '0x1811c',    '0x28', '0x10701',\n",
      " '0x1040d', '0x12800', '0x1ff10', '0x1071f', '0x15f00', '0x1fe1f', '0x1861e',\n",
      " '0x17e00', '0x1fe18', '0x1011d',    '0x64', '0x10403', '0x10003', '0x10306',\n",
      " '0x1e900', '0x1fd11', '0x1811b', '0x14400', '0x1fe03', '0x1451e', '0x17701',\n",
      " '0x1010b', '0x1ff00', '0x1421f', '0x15a03', '0x10301', '0x17d04', '0x10100',\n",
      " '0x19301', '0x1001d', '0x10015', '0x19812', '0x1dd00', '0x1fd04', '0x1ff18',\n",
      " '0x1a701', '0x1fc15', '0x1111d', '0x10901', '0x10113', '0x11902', '0x1ff11',\n",
      " '0x10210']\n",
      "Length: 57, dtype: str\n",
      "<StringArray>\n",
      "['0x00', nan, '0x0f', '0x06', '0x11']\n",
      "Length: 5, dtype: str\n"
     ]
    }
   ],
   "source": [
    "temppd = pd.read_csv(r\"C:\\Users\\nethq\\vs-code-home-py\\garmin-converter-2026-04-14\\export_landmarks\\landmarks-00235106.csv\")\n",
    "print(temppd['garmin_type'].unique())\n",
    "print(temppd['garmin_subtype'].unique())"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "68a0dbed",
   "metadata": {},
   "source": [
    "## From there we can extract the main types and subtypes:\n",
    "```\n",
    "<StringArray>\n",
    "[   '0x0d',    '0x09',    '0x02', '0x10401', '0x10004', '0x10000', '0x10f01',\n",
    " '0x1fd0c', '0x10118', '0x10319', '0x10302', '0x1811c',    '0x28', '0x10701',\n",
    " '0x1040d', '0x12800', '0x1ff10', '0x1071f', '0x15f00', '0x1fe1f', '0x1861e',\n",
    " '0x17e00', '0x1fe18', '0x1011d',    '0x64', '0x10403', '0x10003', '0x10306',\n",
    " '0x1e900', '0x1fd11', '0x1811b', '0x14400', '0x1fe03', '0x1451e', '0x17701',\n",
    " '0x1010b', '0x1ff00', '0x1421f', '0x15a03', '0x10301', '0x17d04', '0x10100',\n",
    " '0x19301', '0x1001d', '0x10015', '0x19812', '0x1dd00', '0x1fd04', '0x1ff18',\n",
    " '0x1a701', '0x1fc15', '0x1111d', '0x10901', '0x10113', '0x11902', '0x1ff11',\n",
    " '0x10210']\n",
    "Length: 57, dtype: str\n",
    "<StringArray>\n",
    "['0x00', nan, '0x0f', '0x06', '0x11']\n",
    "Length: 5, dtype: str\n",
    "```"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "607bbcc1",
   "metadata": {},
   "outputs": [
    {
     "ename": "NameError",
     "evalue": "name 'os' is not defined",
     "output_type": "error",
     "traceback": [
      "\u001b[31m---------------------------------------------------------------------------\u001b[39m",
      "\u001b[31mNameError\u001b[39m                                 Traceback (most recent call last)",
      "\u001b[36mCell\u001b[39m\u001b[36m \u001b[39m\u001b[32mIn[2]\u001b[39m\u001b[32m, line 3\u001b[39m\n\u001b[32m      1\u001b[39m list_pds = []\n\u001b[32m      2\u001b[39m folder = \u001b[33m'export_landmarks'\u001b[39m\n\u001b[32m----> \u001b[39m\u001b[32m3\u001b[39m \u001b[38;5;28;01mfor\u001b[39;00m file \u001b[38;5;28;01min\u001b[39;00m os.listdir(folder):\n\u001b[32m      4\u001b[39m     \u001b[38;5;28;01mif\u001b[39;00m file.endswith(\u001b[33m'.csv'\u001b[39m):\n\u001b[32m      5\u001b[39m         \u001b[38;5;66;03m# Use os.path.join to ensure the correct file path\u001b[39;00m\n\u001b[32m      6\u001b[39m         df = pd.read_csv(os.path.join(folder, file))\n",
      "\u001b[31mNameError\u001b[39m: name 'os' is not defined"
     ]
    }
   ],
   "source": [
    "import os,sys,pandas as pd\n",
    "\n",
    "list_pds = []\n",
    "folder = 'export_landmarks'\n",
    "for file in os.listdir(folder):\n",
    "    if file.endswith('.csv'):\n",
    "        # Use os.path.join to ensure the correct file path\n",
    "        df = pd.read_csv(os.path.join(folder, file))\n",
    "        list_pds.append(df)\n",
    "\n",
    "# 2. Combine them all at once (Vertical Stack)\n",
    "global_pd = pd.concat(list_pds, ignore_index=True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "fb9c33c8",
   "metadata": {},
   "outputs": [],
   "source": [
    "len(global_pd)\n",
    "\n",
    "global_pd['garmin_type'].unique()\n",
    "global_pd['garmin_subtype'].unique()\n",
    "\n",
    "water_df = global_pd[global_pd['semantic_tags_json'].str.contains('water', na=False)]\n",
    "spring = global_pd[global_pd['semantic_tags_json'].str.contains('spring', na=False)]\n",
    "\n",
    "#{\"amenity\": \"drinking_water\"}\n",
    "#11%\n",
    "#{\"natural\": \"spring\"}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "0791e550",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.14.0"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
