Geographic support in Ruby gems

I ran across GeoRuby, a Ruby gem for handling spatial data types in a database, awhile ago. However, I never sunk my teeth into how it worked and how to get it going.

In the meantime, I settled myself to using the adequate Cartographer Plugin to easily create Google Maps. I even went so far as to extend Cartographer to switch to Yahoo! maps and MapQuest Maps.

I just came across another mapping gem, YM4R (yellow maps for Ruby) which handles GoogleMaps v2 (there is a patch for Cartographer to do the same), and Yahoo! maps, local, and traffic. Wow!

Not only that, it's by the same developer of GeoRuby, The Pochi Superstar Mega Show!.

Check out the very good, and complete Ym4r + GeoRuby + Spatial Adapter tutorial

About this article

written on
posted in TechnologyProgrammingMapsOpen-SourceRubyRailsProjectCartographer Plugin Back to Top

About the Author

Andrew Turner is an advocate of open standards and open data. He is actively involved in many organizations developing and supporting open standards, including OpenStreetMap, Open Geospatial Consortium, Open Web Foundation, OSGeo, and the World Wide Web Consortium. He co-founded CrisisCommons, a community of volunteers that, in coordination with government agencies and disaster response groups, build technology tools to help people in need during and after a crisis such as an earthquake, tsunami, tornado, hurricane, flood, or wildfire.