[PostGIS] #6007: Diffferrent results with two version of postgis master.

PostGIS trac at osgeo.org
Tue Oct 21 20:17:27 PDT 2025


#6007: Diffferrent results with two version of postgis master.
--------------------------------+---------------------------
  Reporter:  Lars Aksel Opsahl  |      Owner:  pramsey
      Type:  defect             |     Status:  new
  Priority:  medium             |  Milestone:  PostGIS 3.6.1
 Component:  postgis            |    Version:  master
Resolution:                     |   Keywords:
--------------------------------+---------------------------
Comment (by Lars Aksel Opsahl):

 I checked code for ordering now.

 {{{
 order by ST_isClosed(geom) desc, ST_NPoints(geom) desc, cover_num desc
 }}}

 So I add the closed lines which have most points and then I sort based on
 which order the layer have priority. So if two lines from the same input
 layer have the same number of points I have a random issue in ordering.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6007#comment:5>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list