Julien Cigar <jcigar@[EMAIL PROTECTED]
> writes:
> Is there an SQL function to check if a point is contained in a polygon
> shape (before I start to write my own) ?
> I tried something like :
> rodentia=> select point '(-8,25)' <@[EMAIL PROTECTED]
polygon
> '((-3,10),(8,18),(-3,30),(-10,20))';
> ERROR: operator does not exist: point <@[EMAIL PROTECTED]
polygon
> HINT: No operator matches the given name and argument type(s). You may
> need to add explicit type casts.
> ... but without success as you can see ;\
I think you are reading recent do***entation and trying to apply it to
an old Postgres version. <@[EMAIL PROTECTED]
had some other name before 8.2 ... check
the docs for whatever you are running.
regards, tom lane
--
Sent via pgsql-sql mailing list (pgsql-sql@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql


|