[postgis-users] PostgreSQL 9.3.4/PostGIS 2.1.1 function
Paul Ramsey
pramsey at cleverelephant.ca
Thu Dec 4 15:51:26 PST 2014
I would think that scaling by 180/pi should do the trick in general?
select st_astext(st_setsrid(st_scale('POINT(1
1)'::geometry,180.0/pi(),180.0/pi()),4326));
P
On Thu, Dec 4, 2014 at 3:24 PM, Burgess, Freddie
<FBurgess at radiantblue.com> wrote:
> Given a polygon geometry with no SRID, the vertices actually in radians, but
> since the SRID is zero, it looks like Cartesian coordinates, I want the lat
> long in degrees and not rads.
>
> Does anyone provide of a function/custom that will return lat/long in
> degrees given the conditions described?
>
> thanks
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list