dbTalk Databases Forums  

postgis

comp.databases.postgresql comp.databases.postgresql


Discuss postgis in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
iamx
 
Posts: n/a

Default postgis - 04-01-2009 , 07:44 AM






hi,

can you tell me how can i search geo points from geopoints database in
defined area? how can i define area?
i have points on my googlemaps map and i want search by area..

For example:
i have 3 markers:
(41.8641930 12.4618864)
(41.8963661 12.4953175)
(41.9045753 12.5012827)

they are creating triangle, i want find other objects in table placed
inside this triangle.

please help me!
sorry for my language

cheers
iamx

Reply With Quote
  #2  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: postgis - 04-02-2009 , 01:58 AM






iamx wrote:
Quote:
can you tell me how can i search geo points from geopoints database in defined area? how can i define area?
i have points on my googlemaps map and i want search by area..

For example:
i have 3 markers:
(41.8641930 12.4618864)
(41.8963661 12.4953175)
(41.9045753 12.5012827)

they are creating triangle, i want find other objects in table placed inside this triangle.

please help me!
If nobody here knows the answer, ask the PostGIS mailing list:

http://postgis.refractions.net/mailm.../postgis-users

Yours,
Laurenz Albe




Reply With Quote
  #3  
Old   
iamx
 
Posts: n/a

Default Re: postgis - 04-06-2009 , 01:22 AM



Quote:
If nobody here knows the answer, ask the PostGIS mailing list:

http://postgis.refractions.net/mailm.../postgis-users

Yours,
Laurenz Albe


Thanks, I will try


Reply With Quote
  #4  
Old   
Bernd Nawothnig
 
Posts: n/a

Default Re: postgis - 04-16-2009 , 12:43 PM



On 2009-04-01, iamx wrote:

Quote:
can you tell me how can i search geo points from geopoints database in
defined area? how can i define area?
i have points on my googlemaps map and i want search by area..

For example:
i have 3 markers:
(41.8641930 12.4618864)
(41.8963661 12.4953175)
(41.9045753 12.5012827)

they are creating triangle, i want find other objects in table placed
inside this triangle.
Make a polygon from them. After that ST_Intersects and ST_Intersection
are your friends.



Bernd

--
No time toulouse


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.