yihong0618 / running_page

Make your own running home page
https://running-page.vercel.app
MIT License
3.63k stars 1.05k forks source link

Some Front Optimization for Keep indoor data #709

Closed houfeng0923 closed 2 months ago

houfeng0923 commented 2 months ago

hi , yihong I export some keep records , almost indoor run data 🫣. the geoPoints is empty or looks incomplete decoded data, i prefer the bounds is dalian(from location_country) not beijing.

btw the part of the keep data is :

  {
    "run_id": 9223370384358951307,
    "name": "VirtualRun from keep",
    "distance": 7095.168620939273,
    "moving_time": "21:28:40",
    "type": "VirtualRun",
    "start_date": "2022-05-13 05:08:24",
    "start_date_local": "2022-05-13 13:08:24",
    "location_country": "{'latitude': 38.858706, 'longitude': 121.52418, 'country': '\u4e2d\u56fd', 'nationCode': '156', 'province': '\u8fbd\u5b81\u7701', 'city': '\u5927\u8fde\u5e02', 'cityCode': '0411', 'district': None, 'districtCode': None, 'startLatitude': 0.0, 'startLongitude': 0.0}",
    "summary_polyline": "gqqrFsrkeU??", // or null
    "average_heartrate": null,
    "average_speed": 0.09176369142446034,
    "streak": 1
  }

if "summary_polyline" === "gqqrFsrkeU??", decoded coord is beijing.

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
running-page ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 4, 2024 2:39am
yihong0618 commented 2 months ago

Thanks