[postgis-tickets] [PostGIS] #3539: geography ST_Segmentize returning straight line instead of curved

PostGIS trac at osgeo.org
Tue Aug 16 06:04:32 PDT 2016


#3539: geography ST_Segmentize returning straight line instead of curved
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 2.3.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by robe):

 Because this is the geography segmentize not the geometry segmentize.  It
 should follow the great circle pattern. geography segmentize has now been
 reduced to nothing but geometry segmentize.

 If I go from New York to Mumbai and I segmentize my line enough even on a
 flat map it should not show me going thru Africa.


 Here is a query way of looking at it.  Note how the 2.3 answer is way
 longer than the original segment and 2.2 answer

 {{{
      orig_len     |  len_22_answer   |  len_23_answer
 ------------------+------------------+------------------
  12544025.7530776 | 12544040.5248272 | 13998927.2849106
 (1 row)


 }}}

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3539#comment:7>
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