Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

We're at the investigation phase of creating a web based GIS. We're assessing options for an ORM to use in all of our backend import/export and processing routines. From my research, GeoDjango appears to be more mature, but Rails/RGeo looks to be well thought out and reasonable comprehensive.

Does anyone have experience with both and can recommend one or the other?

share|improve this question
1  
Hmm.. I may be alone in thinking this, but I think changing the title to Pros and Cons of using Ruby/Rails/RGeo vs Python/GeoDjango for a web based GIS might get a little more traction. –  elrobis Apr 17 '13 at 0:12
2  
Yes. The last thing I want to start is a Ruby/Python or Rails/Django war. –  M Schubert Apr 17 '13 at 0:17
    
Can you define or include link to definition for ORM, please? –  PolyGeo Apr 17 '13 at 0:40
    
I think we can not separate the language/framework from application. I think you'll need to specify a one or more use cases so you'll get the answer you need. Web based GIS is rather broad. Or at least specify some aspects you want compared. –  R.K. Apr 17 '13 at 4:18
    
@PolyGeo, ORM = Object Relational Mapper. A python example of this is SQLAlchemy. It is basically a level of abstraction that allows you to seamlessly change out your web mapping engine or SQL engine without having to rewrite the code to match system-specific architecture. –  RyanDalton Apr 17 '13 at 4:42

1 Answer 1

up vote 3 down vote accepted

I'll offer a perspective: Python is in more widespread use in the geospatial arena. It is the scripting language of choice for ArcGIS and QGIS and there are a wide variety of high quality libraries available for it, plus community.

Python/Django/GeoDjango are a mature combination, with a somewhat slower, steadier development pace than Ruby/Rails/RGeo, which may be a pro or a con for you. Arguably, the GeoDjango documentation is better than RGeo's.

Ultimately I believe it comes down to developer preference, experience and productivity. If you look at the work of Vizzuality (github), they do some spectacular stuff with the Ruby stack. I'm not aware of any GeoDjango shop with such an impressive portfolio, but please post here if anyone knows of one!

This post by Jeff Atwood on why he chose Ruby to build Discourse is salient:

But why Ruby? Well, the short and not very glamorous answer is that I had narrowed it down to either Python or Ruby, and my original co-founder Robin Ward has been building major Rails apps since 2006. So that clinched it.

share|improve this answer
    
I like this as an answer. Vizzuality has a very impressive portfolio. I also discovered OpenStreetMaps itself uses a Ruby stack. –  M Schubert Apr 24 '13 at 0:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.