---
title: "Pure Ruby Maps: libgd-gis + Rails"
url: https://daily.dev/posts/pure-ruby-maps-libgd-gis-rails-mtdpmrkqf
source_url: https://rubystacknews.com/2026/04/08/pure-ruby-maps-libgd-gis-rails/
type: article
source: "Ruby Flow"
published: 2026-04-09T08:28:06.220Z
updated: 2026-04-13T02:30:08.071Z
tags: ["ruby", "rails", "gis"]
reading_time: 7
upvotes: 4
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Pure Ruby Maps: libgd-gis + Rails

**[Ruby Flow](https://daily.dev/sources/rubyflow)** · 7 min read · 4 upvotes · 0 comments

## Summary

MapView is a new Rails gem that renders static PNG maps using pure Ruby, built on top of libgd-gis and ruby-libgd. It eliminates the need for JavaScript mapping libraries like Leaflet or Mapbox by generating cached PNG images server-side from GeoJSON data. The gem provides two view helpers — map_view for GeoJSON files or strings, and map_view_point for single coordinates — with support for multiple basemaps (OSM, CARTO, ESRI), YAML-based custom styling, and automatic PNG caching. Ideal for delivery tracking, store locators, real estate listings, and GIS reports where interactivity is not required. Released as v0.1.0 alpha under MIT for open source and a commercial license for production use.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://rubystacknews.com/2026/04/08/pure-ruby-maps-libgd-gis-rails/>

## Similar posts on daily.dev

- [MapView: Static maps for Rails. No JS. No frontend. Just Ruby.](https://daily.dev/posts/mapview-static-maps-for-rails-no-js-no-frontend-just-ruby--dsaur8cer) · RUBYLAND · 0 upvotes · 0 comments
- [MapView: Server-Side Map Rendering for Rails](https://daily.dev/posts/mapview-server-side-map-rendering-for-rails-cvfvou6sc) · RUBYLAND · 0 upvotes · 0 comments
- [Generating thousands of maps per minute in Ruby](https://daily.dev/posts/generating-thousands-of-maps-per-minute-in-ruby-ate3ec5am) · RUBYLAND · 0 upvotes · 0 comments

---

Tags: [#ruby](https://daily.dev/tags/ruby), [#rails](https://daily.dev/tags/rails), [#gis](https://daily.dev/tags/gis)

[View this post on daily.dev](https://daily.dev/posts/pure-ruby-maps-libgd-gis-rails-mtdpmrkqf)
