This Week's Sponsor:

Kolide

Ensures that if a device isn’t secure it can’t access your apps.  It’s Device Trust for Okta.


Cartagen and GSS: Geo Style Sheets, Done in HTML5.

HTML5 is finally starting to show its capabilities. We’ve already talked about SublimeVideo and Sketchpad, two beautiful examples of what the future has in store for us. Today’s demo might not be as sexy as the others, but it’s worth a mention nevertheless as it could seriously revolutionize the way we see information on the web. I don’t know how old is this and if the developers are still working on it, but I haven’t found any reference anywhere so I decided to talk about it here.

It’s called Cartagen and it lets you make maps with a simple stylesheet. Let me embed a few quotes from the official website:

“Cartagen (http://cartagen.org) is a vector-based, client-side framework for rendering maps in native HTML 5. Written in JavaScript, it uses the new Canvas element to load mapping data from various sources, including OpenStreetMap.

Maps are styled with Geographic Style Sheets (GSS), a cascading stylesheet specification for geospatial information – a decision which leverages literacy in CSS to make map styling more accessible. However, GSS is a scripting language as well, making Cartagen an ideal framework for mapping.

Cartagen can display maps that change based on live data streams.

It also offers the possibility of rendering OpenStreetMap data which is not currently efficient with tile-based systems - such as authorship and time data. A simple but useful example is that Cartagen can show live OpenStreetMap data – in the sense that viewers see edits occurring in real time, with no rendering load on the server.”

Basically, it’s based on a stylesheet that supports geographical information and renders maps in HTML5. Maps can change according to live streams (news, updates, whatever you can think of) and the user can interact with them. Now, just sit down and let your imagination run wild: huge possibilities, reliability and support for the major desktop and mobile browsers. Very promising, though I know I’ll soon discover something better. That’s the beauty of progress.

Cartagen Wiki

Stylesheet Gallery

Unlock More with Club MacStories

Founded in 2015, Club MacStories has delivered exclusive content every week for over six years.

In that time, members have enjoyed nearly 400 weekly and monthly newsletters packed with more of your favorite MacStories writing as well as Club-only podcasts, eBooks, discounts on apps, icons, and services. Join today, and you’ll get everything new that we publish every week, plus access to our entire archive of back issues and downloadable perks.

The Club expanded in 2021 with Club MacStories+ and Club Premier. Club MacStories+ members enjoy even more exclusive stories, a vibrant Discord community, a rotating roster of app discounts, and more. And, with Club Premier, you get everything we offer at every Club level plus an extended, ad-free version of our podcast AppStories that is delivered early each week in high-bitrate audio.

Choose the Club plan that’s right for you:

  • Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with app collections, tips, automation workflows, longform writing, a Club-only podcast, periodic giveaways, and more;
  • Club MacStories+: Everything that Club MacStories offers, plus exclusive content like Federico’s Automation Academy and John’s Macintosh Desktop Experience, a powerful web app for searching and exploring over 6 years of content and creating custom RSS feeds of Club content, an active Discord community, and a rotating collection of discounts, and more;
  • Club Premier: Everything in from our other plans and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.