Changes between Initial Version and Version 27 of Ticket #3719


Ignore:
Timestamp:
10/23/18 18:30:57 (6 years ago)
Author:
dbaston
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3719

    • Property Milestone PostGIS 2.3.3PostGIS 3.0.0
    • Property Owner changed from pramsey to dbaston
  • Ticket #3719 – Description

    initial v27  
    11Why this sql query returns error:
    2 select ST_Intersects(ST_GeomFromText('CURVEPOLYGON(
     2
     3{{{
     4SELECT ST_Intersects(ST_GeomFromText('CURVEPOLYGON(
    35  (25495445.625 6671632.625, 25495445.625 6671711.375, 25495555.375 6671711.375, 25495555.375 6671632.625, 25495445.625 6671632.625),
    46  COMPOUNDCURVE(
    57    CIRCULARSTRING(25495368.0441 6671726.9312,25495368.3959388 6671726.93601515,25495368.7478 6671726.9333),
    68    (25495368.7478 6671726.9333,25495368.0441 6671726.9312)))'),ST_MakeEnvelope(25495443.625, 6671631.625, 25495556.375, 6671712.375))
     9}}}
    710
     11
     12
     13{{{
    814ERROR: First argument geometry could not be converted to GEOS: IllegalArgumentException: Invalid number of points in LinearRing found 3 - must be 0 or >= 4
    915SQL state: XX000
    1016Context: SQL function "st_intersects" statement 1
     17}}}
    1118
    1219
    1320If I put hole geometry to boundary geometry it doesn't give error:
     21
     22{{{
    1423
    1524select ST_Intersects(ST_GeomFromText('CURVEPOLYGON(
     
    1726    CIRCULARSTRING(25495368.0441 6671726.9312,25495368.3959388 6671726.93601515,25495368.7478 6671726.9333),
    1827    (25495368.7478 6671726.9333,25495368.0441 6671726.9312)))'),ST_MakeEnvelope(25495443.625, 6671631.625, 25495556.375, 6671712.375))
     28}}}
    1929
     30
     31
     32{{{
    2033st_intersects
    2134boolean
    2235
    2336f
     37}}}
     38