PostGIS > Intersect two circles. Each Circle must be built from Long/Lat degrees plus

المشرف العام

Administrator
طاقم الإدارة
PostGIS > Intersect two circles. Each Circle must be built from Long/Lat degrees plus

I'm trying to figure this out, so I wanted to try asking to the experts.

This question is related to PostGIS (from postgresql).

What I want is:

1) Based on a longitude and latitude I want project a single point (similar on how you can pass the lat and lon to a google map and then have a single point projected).

2) Create a circle geometry around that with a radius. (I'm going to determine the radius based on the horizontal accuracy of the Lat/Lon)

3) Then, I want to do 1 and 2 again to another Lat/Lon combination. And see if those two circles touch.

I suppose for point 2), I could use a constructor like ST_GeomFromText, however I dont quite understand yet how I can project a single point based on two spherical angles (lat/lon).

Then for point 3, I guess I could use something like ST_Touches



أكثر...
 
أعلى