Skip to main content
Answer

Why don't routes and activies show both polyline and summary_polyline

  • January 18, 2024
  • 2 replies
  • 62 views

Forum|alt.badge.img+3

The API docs says that both getActivityById and getRouteById should return both a map.polyline and map.summary_polyline. However, my activities only have a polyline and don't have a summary_polyline. My routes, meanwhile, only show summary_polyline and no polyline. Am I missing something?

Also, does anyone have a good description between polyline and summary_polyline?

Best answer by dblock

I don't think you're missing anything.

It looks like polyline is a lot longer, the other thing that may be different (I'm guessing) is that summary_polyline doesn't include the actual start line depending on the athlete's privacy settings.

2 replies

Forum|alt.badge.img+5
  • Hub Rookie
  • Answer
  • January 29, 2024

I don't think you're missing anything.

It looks like polyline is a lot longer, the other thing that may be different (I'm guessing) is that summary_polyline doesn't include the actual start line depending on the athlete's privacy settings.


Forum|alt.badge.img+3
  • Author
  • Hub Rookie
  • January 29, 2024

Thanks. Sounds like it's just a documentation issue.