Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Koop provider for Strava

License

NotificationsYou must be signed in to change notification settings

jking-gis/koop-provider-Strava

Repository files navigation

Build StatusGreenkeeper badgenpm version

Koop Strava Provider

This is a provider that looks at Strava's api call to explore nearby segmentshere. When put into a webmap, it will use your current extent to define where to search for the segments. You can also use it as a wrapper, and pass the same url parameters as you could in the Strava api call ofhttps://www.strava.com/api/v3/segments/explore.

The parameters you can pass are bounds, activity_type, min_cat, and max_cat.

  1. bounds (array[Float]): The latitude and longitude for two points describing a rectangular boundary for the search: [southwest corner latitutde, southwest corner longitude, northeast corner latitude, northeast corner longitude]

  2. activity_type (String): Desired activity type. May take one of the following values: running, riding.

  3. min_cat (integer): The minimum climbing category.

  4. max_cat (integer): The maximum climbing category.

Test it out

Run server:

  • npm install
  • npm start

Example API Query:

  • curl localhost:8080/Strava/FeatureServer/0/query?bounds=38,-91,39,-90

Tests:

  • npm test

Full documentation of the Strava api is providedhere.

About

Koop provider for Strava

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp