[postgis-tickets] [PostGIS] #2564: Implement the inverse of the ST_AsLatLonText function
PostGIS
trac at osgeo.org
Mon Jan 6 17:16:40 PST 2014
#2564: Implement the inverse of the ST_AsLatLonText function
-------------------------+--------------------------------------------------
Reporter: andrewxhill | Owner: pramsey
Type: enhancement | Status: new
Priority: low | Milestone: PostGIS 2.2.0
Component: postgis | Version: 2.1.x
Keywords: |
-------------------------+--------------------------------------------------
Comment(by pramsey):
In my musing on this topic over the years, I've always felt a format
string would be req'd.
{{{
DDMMSS
DDMMSS.SS
DDMM.MMM
DD.DDDD
DDW MM" SS'
}}}
Some quirks would be around noticing the NSEW tokens and ensuring the
right value ended up in X and Y. Dealing with 2 and 3 digit east/west
degree values. Dealing with both NSEW tokens and decimal degrees as
potential inputs. Could be a very challenging piece. I always looked at it
and said "let them write their own regex". Might be easier to write a
regex tutorial page than write the code itself :)
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2564#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