Ask A Question

Notifications

You’re not receiving notifications from this thread.

Help needed on how to create spatial indexing

sid d asked in General

Presently i have a list of the places what i've looking for and latitude / longitude numbers for them and i come up with somewhere about spatial indexing to search for nearest locations within my database but i've got not much help on this anywhere on internet how to go forward on rails application.

I'll be pretty much glad, if i get some help from you guys.

Reply

Are you considering using PostGIS on PostgreSQL for basic search or an independent search engine like ElasticSearch so you can do more complex searches?

Reply

I don't even know about PostGIS exists. I'm going through documentation and it appears i come up with poor documentation on PostGIS.

More or less i need to do this thing, meanwhile if you can have any help for me how to go with this, i'll be much glad with that. Thanks so much Chris

Reply

PostGIS would be the easiest way to get started. There definitely isn't great documentation on it. Maybe I'll be able to record a screencast on it sometime soon.

In the meantime, check out the readme on this and see if it does what you need: https://github.com/rgeo/activerecord-postgis-adapter

Reply

Screencast would be great. Active record postgis adapter documentation fine too.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 85,376+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.