Skip to main content
Tweeted twitter.com/#!/StackGIS/status/99414072797315072
edited title
Link
underdark
  • 84.5k
  • 22
  • 233
  • 415

Complex(?) geospatial query with Promotion radius in miles around venues using PostGIS

added 107 characters in body
Source Link
Mike
  • 153
  • 3

Bear with me as I'm new to PostGIS and GIS in general. I also don't know the domain well enough to create a good title for this post! Here is what I'm trying to accomplish:

I have Venues in my system. Each Venue has a promotion radius in miles. Given an arbitrary point (lat/lng), I want to find all the Venues which encompass the arbitrary point in their promotion radius.

Here's what venues tables look like:

venues
id | name | latitude | longitude | promo_radius

Is this possible with PostGIS? Are there any resources that would help me further understand the query?

Thanks!

Bear with me as I'm new to PostGIS and GIS in general. I also don't know the domain well enough to create a good title for this post! Here is what I'm trying to accomplish:

I have Venues in my system. Each Venue has a promotion radius in miles. Given an arbitrary point, I want to find all the Venues which encompass the arbitrary point in their promotion radius.

Is this possible with PostGIS? Are there any resources that would help me further understand the query?

Thanks!

Bear with me as I'm new to PostGIS and GIS in general. I also don't know the domain well enough to create a good title for this post! Here is what I'm trying to accomplish:

I have Venues in my system. Each Venue has a promotion radius in miles. Given an arbitrary point (lat/lng), I want to find all the Venues which encompass the arbitrary point in their promotion radius.

Here's what venues tables look like:

venues
id | name | latitude | longitude | promo_radius

Is this possible with PostGIS? Are there any resources that would help me further understand the query?

Thanks!

Source Link
Mike
  • 153
  • 3

Complex(?) geospatial query with PostGIS

Bear with me as I'm new to PostGIS and GIS in general. I also don't know the domain well enough to create a good title for this post! Here is what I'm trying to accomplish:

I have Venues in my system. Each Venue has a promotion radius in miles. Given an arbitrary point, I want to find all the Venues which encompass the arbitrary point in their promotion radius.

Is this possible with PostGIS? Are there any resources that would help me further understand the query?

Thanks!