Part III: Geospatial Rails

So far we’ve talked about querying data using ActiveRecord and also using raw SQL. We’ve done several different data visualizations using that data. Those visualizations utilized several different types of graphs. All the applications we built have an additional component that we have not yet addressed.

They all have location information.

This next section will discuss how to work with geospatial data in Rails. In Chapter 9, “Working with Geospatial Data in Rails,” we discuss PostGIS, the Postgres GIS extension. We discuss geographic data types and how to make use of them in your Rails apps. You also learn how to import data, specifically a geospatial data format called a shapefile.

In Chapter 10, “Making Maps with ...

Get Data Visualization Toolkit: Using JavaScript, Rails™, and Postgres to Present Data and Geospatial Information now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.