[postgis-users] flip lines

Pedro Costa pedrocostaarma at sapo.pt
Tue Nov 6 09:11:48 PST 2012


Thanks Sandro...

It is possible determine the current directions before use st_reverse?

I want all lines with same direction


Em 06-11-2012 16:37, Sandro Santilli escreveu:
> 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
>
> _______________________________________________
> 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