Questions tagged [georuby]
5 questions
2
votes
1 answer
Getting OCIError: ORA-00932: inconsistent datatypes From Rails 3
Here is the scenario.
I'm writing my geo-ruby oracle adapter for Ruby On Rails which supports working with SDO_GEOMETRY out of box.
It was going well. I wrote codes for selecting SDO_GEOMETRY objects from Oracle DB successfully.
Everything ruins up…

Dave Qorashi
- 326
- 2
- 11
1
vote
0 answers
Check if point is inside a polygon with a buffer
I have a geojson and a point (lat,lon). I need to figure out if the point is in the area defined by geojson. But the constraint is relaxed i.e. if the point is inside or within say 0.5 miles from the outer edge of geojson, the point can be…

shrnkrn
- 121
- 1
- 9
1
vote
2 answers
Writing a GeoRuby Oracle Adapter for Ruby 1.9 and Rails 3.2.5
We are a GIS RoR-based software company which works with spatial data.
At the present time, we directly execute our pure SQL in Oracle, but it's a challenging process, now we consider the idea of switching to GeoRuby.
We want to adopt GeoRuby with…

Dave Qorashi
- 326
- 2
- 11
1
vote
2 answers
Coloring polygons in a shapefile
I've got an ESRI Shapefile containing polygons of administrative regions, and data corresponding to those regions. I'd like to produce images of those shapefiles colored according to the data, like this:
Here's an answer about doing this in…

lambshaanxy
- 22,552
- 10
- 68
- 92
0
votes
1 answer
How to resolve Rails, GeoRuby (and postgis/postgresql): NameError: uninitialized constant Point?
when i am running the code on rails console as:
Point.from_x_y(88.365805,22.543538)
Then getting error as:
NameError: uninitialized constant Point
Can anyone help me to remove this error?
I am running require 'gems' before running this code…

Rajesh Kumar
- 167
- 1
- 3
- 14