Opened 3 years ago

Last modified 3 years ago

#1109 new defect

GEOSNormalize behavioural change with closed linestrings

Reported by: strk Owned by: strk
Priority: major Milestone: 3.9.3
Component: Core Version: 3.9.0
Severity: Unassigned Keywords:
Cc:

Description (last modified by strk)

Up to GEOS-3.8 normalizing a closed linestring had no effect. Starting with GEOS-3.9.0 such linestrings are made to be clockwise and with startpoint being the "lowest" coordinate.

Such behavioural change is unconvenient for users of GEOSNormalize as tipical use of that is to ensure consistent shape of things for testing purpose.

See also https://trac.osgeo.org/postgis/ticket/4886

Possible solutions:

  1. Make GEOSNormalize behave as it did before, add a new signature for the new behavior
  2. Keep the new behaviour, consider the "not-touched" as a bug and release bugfix releases in all old supported branches

The first solution seem less destructive

Change History (2)

comment:1 by strk, 3 years ago

Description: modified (diff)

I was just struck by this issue again. Something should be done if we want people to still be able to use a "canonical form" across geos versions...

comment:2 by pramsey, 3 years ago

Milestone: 3.9.23.9.3
Note: See TracTickets for help on using tickets.