Support for Spatial Adapter
Reported by Javier Goizueta | October 29th, 2008 @ 04:42 PM | in Beyond Hobo 1.0
I'm trying to use HoboFields with Spatial Adapter, which defines new geometric field types. Those fields have an attribute called srid and I'm submitting a patch to handle it.
While we're on it I'd like to suggest a couple of ideas to
better support the use of Spatial Adaptor:
* Declaring indices in the model would be nice: class Example
fields do name :string, :indexed name :geometry, :multi_polygon,
:indexed=>:spatial end end With Spatial Adapter spatial indices
are defined like this: add_index "examples", "geometry",
:spatial=>true
- Adding geometry-related tables to the always ignore list, namely 'spatial_ref_sys' and 'geometry_columns' for PostGIS.
I hope you consider at least the srid patch: I'd really love to use HoboFields and Spatial Adapter.
Comments and changes to this ticket
-
Tom Locke December 1st, 2008 @ 05:40 PM
- State changed from new to investigating
Can you explain what this srid is. It would be better to extend the rich type mechanism to support this kind of thing extensibly, rather than baking in this particular plugin.
Thanks
-
Tom Locke March 13th, 2009 @ 02:50 PM
- Milestone set to Beyond Hobo 1.0
- State changed from investigating to open
We're trying to lock things down for a 1.0 release, so I'm going to mark this as an open issue for after 1.0
Thanks for the extra detail - I can see there's a need for this.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป