56°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • http://wirres.net/article/articleview/9275/1/54/
    Aaron Parecki
    It's a little buried, but the API for drawing a line on the map in Atlas is documented here: https://github.com/aaronpk/Static-Maps-API-PHP/#paths

    Before I create that URL, I first simplify the GPS points from the trip into a minimal line using the Ramer-Douglas-Peucker algorithm. http://www.loughrigg.org/rdp/ Right now that code lives in p3k and is used to generate a simpler version of the line before passing it off to Atlas. Do you think it would be useful to have an Atlas API that runs that algorithm?
    Portland, Oregon, USA
    Mon, Feb 8, 2016 5:08am -08:00 #indieweb
    2 replies
    • felix schwenzel wirres.net

      thanks for the pointer!
      i managed to extract the coordinates out of the 2.5 MB geojson trip file, that got micropubed to my site. that’s still around 500 KB of coordinates. i think simplifying those coordinates myself would be a little tough for my spatial and algorithmic skills. i’d be happy if compass micropubed not only the coordinates, but also a map image, with predefined dimensions. while it’s nice to get all the data pumped over to my site, i’d be happy with just an image of the trip and the trip characteristics like distance, start and end point.
      just getting the trip characteristics and a map image after finishing a trip would probably be sufficient for most users that have weak calculating skills like myself.

      Mon, Feb 8, 2016 4:02pm +01:00
    • felix schwenzel wirres.net

      thanks for the pointer!
      i managed to extract the coordinates out of the 2.5 MB geojson trip file, that got micropubed to my site. that’s still around 500 KB of coordinates. i think simplifying those coordinates myself would be a little tough for my spatial and algorithmic skills. i’d be happy if compass micropubed not only the coordinates, but also a map image, with predefined dimensions. while it’s nice to get all the data pumped over to my site, i’d be happy with a an image of the trip and the trip characteristics like distance, start and end point. just getting the trip characteristics and a map image after finishing a trip would probably be sufficient for most users that have weak calculating skills like myself.

      Mon, Feb 8, 2016 4:02pm +01:00
Posted in /replies using quill.p3k.io

Hi, I'm Aaron Parecki, Director of Identity Standards at Okta, and co-founder of IndieWebCamp. I maintain oauth.net, write and consult about OAuth, and participate in the OAuth Working Group at the IETF. I also help people learn about video production and livestreaming. (detailed bio)

I've been tracking my location since 2008 and I wrote 100 songs in 100 days. I've spoken at conferences around the world about owning your data, OAuth, quantified self, and explained why R is a vowel. Read more.

  • Director of Identity Standards at Okta
  • IndieWebCamp Founder
  • OAuth WG Editor
  • OpenID Board Member

  • 🎥 YouTube Tutorials and Reviews
  • 🏠 We're building a triplex!
  • ⭐️ Life Stack
  • ⚙️ Home Automation
  • All
  • Articles
  • Bookmarks
  • Notes
  • Photos
  • Replies
  • Reviews
  • Trips
  • Videos
  • Contact
© 1999-2025 by Aaron Parecki. Powered by p3k. This site supports Webmention.
Except where otherwise noted, text content on this site is licensed under a Creative Commons Attribution 3.0 License.
IndieWebCamp Microformats Webmention W3C HTML5 Creative Commons
WeChat ID
aaronpk_tv