[postgis-users] Calculate coordinates

Charles Galpin cgalpin at lhsw.com
Fri Apr 30 05:42:52 PDT 2010


Check out the upgis_lineshift function on

http://trac.osgeo.org/postgis/wiki/UsersWikiplpgsqlfunctions

The resulting line will have endpoints that  you want.

hth
charles

On Apr 29, 2010, at 7:10 PM, ots wrote:

> 
> Hello,
> I have oriented line. The line is given as two points (WGS84). I need to
> calculate coordinates(also WGS84) of next two points on one side (left or
> right) of the line in the given distance so all 4 points make together
> rectangle. 
> Is there some function that can help me? I was searching but no idea.
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100430/1ccb79ed/attachment.html>


More information about the postgis-users mailing list