return 0;
}
}
+
/*
* If the point is to the left of the line, and it's rising,
* then the line is to the right of the point and
* circling counter-clockwise, so incremement.
*/
- else if (FP_CONTAINS_BOTTOM(seg1.y,point->y,seg2.y) && side>0)
+ if (FP_CONTAINS_BOTTOM(seg1.y,point->y,seg2.y) && side>0)
{
LWDEBUG(3, "incrementing winding number.");
-- #804
SELECT '#804', ST_AsGML(3, 'SRID=4326;POINT(0 0)'::geometry, 0, 1);
+
+-- #845
+SELECT '#845', ST_Intersects('POINT(169.69960846592 -46.5061209281002)'::geometry, 'POLYGON((169.699607857174 -46.5061218662,169.699607857174 -46.5061195965597,169.699608806526 -46.5061195965597,169.699608806526 -46.5061218662,169.699607857174 -46.5061218662))'::geometry);
+
-- Clean up
DELETE FROM spatial_ref_sys;
#723|0107000020E610000000000000
#723|0101000020E61000007975D98DE33826C060FBFFFFFF7F4B40
#804|<gml:Point srsName="urn:ogc:def:crs:EPSG::4326"><gml:pos srsDimension="2">0 0</gml:pos></gml:Point>
+#845|t