[postgis-devel] Truly_inside(geometry, geometry)

Steve Way sway at infotech-europe.com
Thu Feb 23 03:18:27 PST 2006


Hi all,

I did re-import the lwpostgis.sql script.

The issue being, whereas before the truly_inside() function would return
a result, th within() function does not.

This is the last part of my SQL query (quite a complex query).

If anyone has any examples of how the within() or contains() functions
are implemtented, then I would be grateful.

Kind Regards,

Steve way

-----Original Message-----
From: postgis-devel-bounces at postgis.refractions.net
[mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of Mark
Cave-Ayland
Sent: 23 February 2006 10:34
To: 'PostGIS Development Discussion'
Subject: RE: [postgis-devel] Truly_inside(geometry, geometry)


> -----Original Message-----
> From: postgis-devel-bounces at postgis.refractions.net
> [mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of 
> Steve Way
> Sent: 23 February 2006 09:27
> To: PostGIS Development Discussion
> Subject: RE: [postgis-devel] Truly_inside(geometry, geometry)
> 
> Hi There,
> 
> I tried the functions you specified, which meant I had to install 
> GEOS.
> 
> So I installed the GEOS library, the compiled PostGIS with GEOS 
> support, and didn't receive any erros, however, my selection is still 
> not being highlighted like before using the truly_inside function.
> 
> Is there any other functions that would work exactly like 
> truly_inside?
> 
> I cant believe a function which was working perfectly well was just 
> "aborted"
> 
> You help guys would be much appreciated
> 
> Steve W


Hi Steve,

Did you reload the lwpostgis.sql file into your database after you
recompiled with GEOS? What does SELECT postgis_full_version() give you?
Does
it mention GEOS?

Also if you are using Mapserver, then it is worth making a deliberate
error
in your DATA statement so that Mapserver generates an error. You can
then
copy the SQL generated from Mapserver into a psql session and experiment
further there.


Kind regards,

Mark.

------------------------
WebBased Ltd
17 Research Way
Plymouth
PL6 8BT

T: +44 (0)1752 797131
F: +44 (0)1752 791023

http://www.webbased.co.uk   
http://www.infomapper.com
http://www.swtc.co.uk  

This email and any attachments are confidential to the intended
recipient
and may also be privileged. If you are not the intended recipient please
delete it from your system and notify the sender. You should not copy it
or
use it for any purpose nor disclose or distribute its contents to any
other
person.


_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the postgis-devel mailing list