![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello everyone! My name is David Cruz, and I'm from Bogota, Colombia. I'm Beggining with PostgreSQL, so I've been doing just a few simple things. I have a problem, in my database there is a table which has some geometric data types: (point and polygon) and a need some operator or function that let me know if the point is inside the polygon or not. Something like the ~ in the point inside a circle, but this one is inside a polygon. thanks a lot! snip/ |
oint @ '(-1,0),(-1,-1),(1,-1),(1,1)':
olygon;
olygon ~ '0.5,0.5':
oint;
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |