[postgis-users] Re: GEOS Installation Testing Help
dhouston at beyondcompliance.ca
Fri Dec 5 00:28:23 PST 2003
>From Steffen's suggestion I tried:
SELECT intersection('POINT(1 1)', 'POINT(1 1)');
and PostgreSQL/PostGIS returned:
Well, unless a PostGIS programmer says otherwise, or I'm given a Geos
specific query that fails, I will almost definitely say that I have a
working Geos 1.0 install (with PostGIS). My PostgreSQL 7.3X was
installed fresh with my Linux operating system install (with no link to
lstdc++). So, there is a way to get around having to re-install
PostgreSQL from source.
I have also used other Geos functions such as boundry() buffer()
isvalid() and issimple() with success.
Thank you Steffen for your query.
> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net
> To: PostGIS Users Discussion
> Sent: 12/5/03 12:31 AM
> Subject: Re: [postgis-users] GEOS Installation Testing Help
> > I tried;
> > SELECT geomunion(
> > 'GEOMETRYCOLLECTION(POINT(0 0), LINESTRING(1 1))',
> > 'POINT(0 0)'
> > );
> > and I received this error;
> > NOTICE: IllegalArgumentException: This method does not support
> > GeometryCollection arguments
> > ERROR: GEOS union() threw an error!
> > PostgreSQL isn't affected by the error.
> It is correct and necessary that you receive this error. The test is
> for this error message. If it wouldn't be there, the PostgreSQL server
> backend most probably would crash.
> Here's another simple query that tests for GEOS (but doesn't return
> an error message):
> select intersection('POINT(1 1)', 'POINT(1 1)');
> This should return POINT(1 1)
> postgis-users mailing list
> postgis-users at postgis.refractions.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the postgis-users