[postgis-tickets] [PostGIS] #3356: geometry to geography cast, always adds a box even for 2 point linestrings and single points
PostGIS
trac at osgeo.org
Mon Nov 2 23:59:52 PST 2015
#3356: geometry to geography cast, always adds a box even for 2 point linestrings
and single points
----------------------+---------------------------
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 robe):
pramsey want to check my work on this to make sure I did the right thing.
I changed to use both for geography_from_geometry and geography_segmentize
{{{
gserialized_geography_from_lwgeom(lwgeom, -1);
}}}
so it behaves just like when you cast from text,
instead of that long painful list of add/drop/set_geodetic.
If it looks okay to you I will backport to 2.2. Not sure it makes sense
for 2.1.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3356#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