[postgis-users] Error compiling geos 2.1.0 on Windows/MinGW
strk at refractions.net
strk at refractions.net
Mon Nov 29 08:24:54 PST 2004
On Mon, Nov 29, 2004 at 03:44:49PM +0100, TECHER Jean David wrote:
> I compiled Geos 2.1.0, Postgis from last cvs, proj 4.4.9 and PG 8.0.0 b5
> without problem???
>
> All works fine...
>
> However perhaps shoul I do a mistake but I did two small tests
>
> select distance(
> GeometryFromText( 'POLYGON((16 90,26 90,26 105,46 105,46 90,56 90,56 130,16
> 130,16 90))', -1 ),
> GeometryFromText( 'POLYGON((63 90,82 90,82 117,63 113.15,63 90))', -1 ));
>
> gave me
>
> distance
> ---------
> 0
> (1 row)
>
> and
>
> select intersects(
> GeometryFromText( 'POLYGON((16 90,26 90,26 105,46 105,46 90,56 90,56 130,16
> 130,16 90))', -1 ),
> GeometryFromText( 'POLYGON((63 90,82 90,82 117,63 113.15,63 90))', -1 ));
>
> gave me
>
> intersects
> ------------
> f
> (1 row)
>
> So...What's wrong ???
A bug in the "point in polygon" check.
Fixed in CVS.
--strk;
More information about the postgis-users
mailing list