hn.today

Rayshader 1.0: Exit the Matrix

tylermw.com82 points11 comments
Screenshot of Rayshader 1.0: Exit the Matrix

Rayshader 1.0 marks an eight-year evolution of an R package for creating attractive 3D maps and terrain visualizations. Its creator argues that visual appeal helps data reach audiences, citing uses in journalism: coverage of Arctic shipping, Gaza’s rebuilding challenges, and flooding in Lismore. But professional and deadline-driven work exposed a practical weakness: users had to do too much spatial preparation before they could make the visualization. Data often comes as georeferenced rasters, lines, points, and polygons with different coordinate systems and units, while rayshader’s original matrix-based terrain input pushed much of that alignment work onto the user.

The central change is that scenes now retain spatial context instead of requiring users to repeatedly supply and coordinate it. A scene caches details such as the heightmap, map extent, coordinate reference system, z-scale, vertical exaggeration, and rendered-object metadata. Terrain can remain a spatial raster; roads and other lines can be transformed into the right coordinate system automatically; and building polygons can be cropped to the scene’s extent. Users can add data to a scene and focus on styling it, while specifying object altitude or height directly or through an attribute column. The release aims to make complex, data-rich visualizations faster and easier to produce, especially when revisions and tight deadlines make manual coordinate handling impractical.

Read on tylermw.com11 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Source Control from Hell

Source Control from Hell

An early software job relied on a shared folder, manual change descriptions, and a tech lead copying code by hand, with coworkers announcing when they needed access to avoid overwriting each other. Discovering Git showed Alex how version control could make collaboration faster and safer, but his company kept its old process for years because it worked well enough for them. (frantic.im)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.