[postgis-users] Fwd: line direction
franco base
frenk.calza at gmail.com
Thu May 16 08:14:32 PDT 2013
I send again message because it was blocked for the attcahed file too big
I have a public transport network with an arc for 2 Point(the bus stop).
I'd know without using the points information arc direction like in qgis
(as you can see from the attached imagine with arc_id and direction)
2013/5/14 Nicolas Ribot <nicolas.ribot at gmail.com>
> Hi,
>
> If you want to materialize direction from start to end of line, you can
> use st_startPoint and st_endpoint to determines the right ends.
> What is your use case ?
>
> Nicolas
>
>
> On 14 May 2013 13:49, franco base <frenk.calza at gmail.com> wrote:
>
>> Hi.
>> I know tgis function but doesn't work.
>> Myabe my question isn't correct.
>> I'd have a binary value according to the arc direction.
>> For example, in qgis I can view this information:
>> I can see an arrow on my arc according to direction.
>> I'd have the same using postgis.
>>
>> Thanks
>>
>>
>>
>> 2013/5/14 Paolo Corti <pcorti at gmail.com>
>>
>>> On Tue, May 14, 2013 at 6:03 PM, franco base <frenk.calza at gmail.com>
>>> wrote:
>>> > Hi.
>>> > I have a question for the list.
>>> >
>>> > Is there a postgis function to have line direction?
>>> >
>>>
>>> http://postgis.refractions.net/docs/ST_Azimuth.html
>>>
>>> regards
>>> p
>>>
>>> --
>>> Paolo Corti
>>> Geospatial software developer
>>> web: http://www.paolocorti.net
>>> twitter: @capooti
>>> skype: capooti
>>> _______________________________________________
>>> postgis-users mailing list
>>> postgis-users at lists.osgeo.org
>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>>>
>>
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>>
>>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20130516/baa4f186/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arc_direction.png
Type: image/png
Size: 64287 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20130516/baa4f186/attachment.png>
More information about the postgis-users
mailing list