[postgis-users] Possible issue with Geos on PostgreSQL8.0Nati veWindows

Obe, Regina DND\MIS robe.dnd at cityofboston.gov
Thu Jan 13 06:16:36 PST 2005


I still have RC4 installed.  As a quick test, I replaced my postgis,
libgeos, and libproj dlls with the ones from
http://www.webbased.co.uk/mca/ .

That seemed to fix the connection disconnect problem.
Now I get for -
select geosnoop('POLYGON((0 0, 1 1,0 0))');

ERROR:  Couldnt convert the postgis geometry to GEOS!

NOTICE:  IllegalArgumentException: Number of points must be 0 or >3

For my original problematic query
select geomunion(the_geom) from neighborhoods;

I get:
ERROR:  GEOS union() threw an error!

NOTICE:  IllegalArgumentException: This method does not support
GeometryCollection arguments


So its better, but why does it seem less informative than the cygwin one
which gives me
select geomunion(the_geom) from neighborhoods;
----------------------------------------------------------------
ERROR:  GEOS union() threw an error!

NOTICE:  TopologyException: side location conflict (780343,2.95405e+06) 

Or is that related to my other problem that when I do 
select geomunion(the_geom) from neighborhoods where name IN('Dorchester',
'Charlestown');

In the Native Windows version I get
SRID=-1;MULTIPOLYGON(((778278.699002388 ...


As opposed to the cygwin which gives me more of what I expect
SRID=102686;MULTIPOLYGON(((778278.699002388  ,,,,,







-----Original Message-----
From: Mark Cave-Ayland [mailto:m.cave-ayland at webbased.co.uk] 
Sent: Thursday, January 13, 2005 6:26 AM
To: 'PostGIS Users Discussion'; 'Steffen Macke'
Subject: RE: [postgis-users] Possible issue with Geos on
PostgreSQL8.0NativeWindows



> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net
> [mailto:postgis-users-bounces at postgis.refractions.net] On 
> Behalf Of strk at refractions.net
> Sent: 13 January 2005 10:42
> To: Steffen Macke
> Cc: PostGIS Users Discussion
> Subject: Re: [postgis-users] Possible issue with Geos on 
> PostgreSQL8.0NativeWindows
> 

(cut)

> > I'm using PostGIS as provided by PostgreSQL 8.0.0 RC5:
> > 
> > dcmms=# select geosnoop('POLYGON((0 0, 1 1,0 0))');
> > server closed the connection unexpectedly
> >         This probably means the server terminated abnormally
> >         before or while processing the request.
> > 
> > What does the "correct" output look like?
> 
> No, it looks like this:
> 
> strk=# select '130', geosnoop('POLYGON((0 0, 1 1, 0 0))');
> NOTICE:  IllegalArgumentException: Number of points must be 0 or >3
> ERROR:  POSTGIS2GEOS conversion failed
> strk=# 
> 
> --strk;


Hi guys,

OK, I just downloaded and installed PostgreSQL 8.0 RC5 but didn't install
the version of PostGIS that came with it - instead I used the latest
installer from http://www.webbased.co.uk/mca/ (PostGIS 0.9.0-ish, GEOS
2.0.1, PROJ 4.4.8):


dcmms=# select geosnoop('POLYGON((0 0, 1 1, 0 0))');
NOTICE:  IllegalArgumentException: Number of points must be 0 or >3
ERROR:  Couldnt convert the postgis geometry to GEOS!
dcmms=#

So looks ok here.... Perhaps I missed some detail in the compilation
somewhere? Can anyone else recreate this?


Kind regards,

Mark.

------------------------
WebBased Ltd
South West Technology Centre
Tamar Science Park
Plymouth
PL6 8BT 

T: +44 (0)1752 791021
F: +44 (0)1752 791023
W: http://www.webbased.co.uk


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



More information about the postgis-users mailing list