On Mon, May 08, 2017 at 08:49:24PM +0300, Jukka Rahkonen wrote:
> Jukka Rahkonen kirjoitti 2017-05-08 17:33:
> >Jukka Rahkonen kirjoitti 2017-05-08 15:48:
>
> >I can still find the same comments about polygon validity in
> >https://github.com/locationtech/jts/blob/master/modules/core/src/main/java
On Mon, May 08, 2017 at 03:48:01PM +0300, Jukka Rahkonen wrote:
>
> Ok, it was defined in JTS 1.13
> http://javadox.com/com.vividsolutions/jts/1.13/com/vividsolutions/jts/geom/Geometry.html#isSimple()
>
> "Valid polygonal geometries are simple, since their rings must not
> self-intersect. isSimp
Jukka Rahkonen kirjoitti 2017-05-08 17:33:
Jukka Rahkonen kirjoitti 2017-05-08 15:48:
I can still find the same comments about polygon validity in
https://github.com/locationtech/jts/blob/master/modules/core/src/main/java/org/locationtech/jts/operation/IsSimpleOp.java
beginning from line 205
Jukka Rahkonen kirjoitti 2017-05-08 15:48:
Ok, it was defined in JTS 1.13
http://javadox.com/com.vividsolutions/jts/1.13/com/vividsolutions/jts/geom/Geometry.html#isSimple()
"Valid polygonal geometries are simple, since their rings must not
self-intersect. isSimple tests for this condition and
Sandro Santilli wrote 2017-05-08 13:48:
On Fri, May 05, 2017 at 10:28:03AM +0300, Jukka Rahkonen wrote:
select ST_IsSimple(
ST_GeomFromText(
'POLYGON (( 320 620, 460 620, 460 500, 320 620, 320 500, 180 500, 180
620,
320 620 ))'
));
Result: "t"
Shouldn't ST_IsSimple return "false"? Op
On Fri, May 05, 2017 at 10:28:03AM +0300, Jukka Rahkonen wrote:
> select ST_IsSimple(
> ST_GeomFromText(
> 'POLYGON (( 320 620, 460 620, 460 500, 320 620, 320 500, 180 500, 180 620,
> 320 620 ))'
> ));
> Result: "t"
>
>
> Shouldn't ST_IsSimple return "false"? OpenJUMP reports that this po
Hi,
I do not understand this:
select ST_IsValid(
ST_GeomFromText(
'POLYGON (( 320 620, 460 620, 460 500, 320 620, 320 500, 180 500, 180
620, 320 620 ))'
));
Result: "f".
select ST_IsValidReason(
ST_GeomFromText(
'POLYGON (( 320 620, 460 620, 460 500, 320 620, 320 500, 180 500, 180
620