All threads / Help needed on how to create spatial indexing

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.

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

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

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

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

Join the discussion

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.