[postgis-tickets] [PostGIS] #3356: geometry to geography cast, always adds a box even for 2 point linestrings and single points, but geography from text or binary do not

PostGIS trac at osgeo.org
Fri Nov 6 06:35:30 PST 2015


#3356: geometry to geography cast, always adds a box even for 2 point linestrings
and single points, but geography from text or binary do not
----------------------+---------------------------
  Reporter:  robe     |      Owner:  robe
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 2.1.9
 Component:  postgis  |    Version:  2.1.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by pramsey):

 At r14359 I've put in a test for geodetic pretty deep in the serialization
 logic. Basically all geographies get boxes always. I'm not 100% sure of
 this, but it makes a fair amount of sense, since you cannot just read the
 boxes of geographies off the raw coordinates, so there's always
 calculation involved and the information should be cached.

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