[postgis-users] flip lines

Sandro Santilli strk at keybit.net
Tue Nov 6 08:37:10 PST 2012


On Tue, Nov 06, 2012 at 03:52:44PM +0000, Pedro Costa wrote:
> Hi,
> 
> Anybody know hot to flip the direction of lines?
> I'm trying to do this with swap (from qgis) but don't work....
> How I do that with SQL?

ST_Reverse(line)

--strk;

 http://www.cartodb.com - Map, analyze and build applications with your data

                                       ~~ http://strk.keybit.net 



More information about the postgis-users mailing list