Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
It is no secret that location has become ubiquitous. Mobile GPS, available data sets, and easy-to-use mapping services have brought geospatial information within reach of web developers. Location already plays a significant role in many of the major services such as Twitter, Facebook, and Google, not to mention legions of startups. However, for those of us implementing more than the most trivial features, it is also true that location is challenging. A significant learning curve awaits us, involving spatial databases, coordinate systems, interchange formats, and plenty of math. Our Ruby-based tools lag a bit behind those available to our Java- and Python-oriented colleagues, and effective documentation is scarce. This presentation aims to jump-start Rails developers hoping to go beyond putting a few pushpins on a Google Map. Rather than spending a lot of time explaining the many concepts involved, we'll bypass the learning curve and jump straight into walking through code for a few nontrivial applications. The hope is that the conceptual knowledge will come naturally as a result of seeing it in action, but pointers to online resources will also be provided to fill in any gaps. A thorough understanding of Ruby, Rails, ActiveRecord, and SQL will be assumed. No prior knowledge of GIS or computational geometry will be required, though it may be helpful.
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In the talk "Getting Down To Earth: Geospatial Analysis With Rails," Daniel Azuma, a Ruby developer and chief architect at Perk, explores the integration of geospatial analysis into Ruby on Rails applications. The presentation highlights the growing importance of location data in modern web development, stressing the challenges developers face when moving beyond basic mapping functionalities. Azuma aims to equip Rails developers with practical skills to implement geospatial features effectively. Key Points Discussed: - **Introduction to Geospatial Analysis**: The speaker emphasizes the significance of location data in applications and the complexities involved in utilizing it effectively, including the need to understand spatial databases, coordinate systems, and computational geometry. - **Setup for Geospatial Capabilities**: Azuma provides guidance on installing necessary software like PostGIS and relevant Ruby gems, outlining the process to set up a Rails application that can handle geospatial data. - **Visualizing Location Data**: He walks through a project that visualizes location activity using around 50,000 data points from Perk’s logs. This involves creating models for storing activity data and querying the database to place markers on a map, eventually suggesting the use of heat maps for better data visualization. - **Time Zone Analysis**: Azuma introduces a project to determine time zones based on geographic locations using polygons from the Olson TZ database. He explains how to set up the database and execute spatial queries to ascertain the time zone by checking which polygon a location falls within. - **Optimizing Queries**: The speaker discusses optimizations for handling complex geospatial data, such as subdividing large polygons for better performance. He also emphasizes choosing appropriate coordinate systems to simplify queries and improve execution speed. - **Practical Resources**: Azuma concludes with a promise to share slides and further resources for the audience to continue their exploration of geospatial integration in Rails applications. He invites attendees to participate in a follow-up gathering to connect with others in the field. Overall, Azuma aims to demystify geospatial analysis for Rails developers, providing them with foundational skills and resources to enhance their applications with spatial functionalities.
Suggest modifications
Cancel