RGeo is a library and framework for handling spatial data in a Ruby application. It’s currently designed more for completeness than ease of use, so there’s a bit of an initial learning curve. This article is an attempt to smooth that learning curve a bit. It contains a tutorial introduction to RGeo, covering the basics that every RGeo user needs to know, and a bit of discussion of where the library came from. Included is:
- An introduction to the industry standard spatial data types
- Working with spatial data objects in RGeo
- Factories: why RGeo uses them and what they’re for
- A comparison with GeoRuby
- A guide to the RDocs
RGeo includes a number of advanced features which I’ll cover in future articles. But for now, I think these are the important topics that will get you started.
This is part 3 of my series of articles on geospatial programming in Ruby and Rails. For a list of the other installments, please visit http://www.daniel-azuma.com/blog/archives/category/tech/georails.