[postgis-tickets] [PostGIS] #3361: gserialized_from_lwgeom takes is_geodetic arg but does nothing with it, geography_serialize may give you a geometry if not careful

PostGIS trac at osgeo.org
Tue Nov 17 20:06:44 PST 2015


#3361: gserialized_from_lwgeom takes is_geodetic arg but does nothing with it,
geography_serialize may give you a geometry if not careful
----------------------+---------------------------
  Reporter:  robe     |      Owner:  robe
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 2.3.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by robe):

 In going thru this exercise, I came across this function -

 http://postgis.net/docs/doxygen/2.3/dc/d52/geography__measurement_8c_a7990577ab258de83502c7fb56ebfc202.html#a7990577ab258de83502c7fb56ebfc202

 geography_point_outside

 Which if I am not mistaken will end up returning a geometry (not a
 geography), because of the bogusness of the gserialized_from_lwgeom
 (since it's passing a geometry), presumably it will get a geometry back.

 Do we use this function anywhere?

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