[postgis-tickets] [PostGIS] #3688: ST_AsLatLonText does not round numbers as expected
PostGIS
trac at osgeo.org
Tue Jan 17 14:13:29 PST 2017
#3688: ST_AsLatLonText does not round numbers as expected
-----------------------+---------------------------
Reporter: mwtoews | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.3.2
Component: liblwgeom | Version: trunk
Keywords: |
-----------------------+---------------------------
For example
{{{
SELECT ST_AsLatLonText('POINT (76.6 -76.6)');
}}}
returns
{{{
76°35'60.000"S 76°35'60.000"E
}}}
While this is technically correct, 60 seconds is not expected. An expected
result would be:
{{{
76°36'0.000"S 76°36'0.000"E
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3688>
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