pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ST_AsLatLonText bug
2+ messages / 2 participants
[nested] [flat]

* ST_AsLatLonText bug
@ 2017-01-17 20:57  mmalorodova@usgs.gov
  0 siblings, 1 reply; 2+ messages in thread

From: mmalorodova@usgs.gov @ 2017-01-17 20:57 UTC (permalink / raw)
  To: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.0/static/plpgsql-porting.html
Description:

select  
(ST_AsLatLonText('POINT ('||(-76.6)||' '||(35.1)||')', 'DD°MM''SS.SSS"C'))
dms

returns unexpected 60 seconds
35° 6'0.000"N 76°35'60.000"W

-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: ST_AsLatLonText bug
@ 2017-01-17 22:22  Mike Toews <mwtoews@gmail.com>
  parent: mmalorodova@usgs.gov
  0 siblings, 0 replies; 2+ messages in thread

From: Mike Toews @ 2017-01-17 22:22 UTC (permalink / raw)
  To: mmalorodova@usgs.gov; +Cc: pgsql-docs

On 18 January 2017 at 09:57,  <mmalorodova@usgs.gov> wrote:
> select
> (ST_AsLatLonText('POINT ('||(-76.6)||' '||(35.1)||')', 'DD°MM''SS.SSS&C'))
> dms
>
> returns unexpected 60 seconds
> 35° 6'0.000&N 76°35'60.000&W

This is not a PostgreSQL bug. PostGIS bugs go to https://trac.osgeo.org/postgis

See https://trac.osgeo.org/postgis/ticket/3688 for this issue.


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-01-17 22:22 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-01-17 20:57 ST_AsLatLonText bug mmalorodova@usgs.gov
2017-01-17 22:22 ` Mike Toews <mwtoews@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox