[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] line direction
From:       Nicolas Ribot <nicolas.ribot () gmail ! com>
Date:       2013-05-14 13:07:34
Message-ID: CAGAwT=17UJ9=2q0bxjJE_wXbc9ZSqgGMWyWnS5XWdT3Uy8EPQg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@gmail.com>
>
>> On Tue, May 14, 2013 at 6:03 PM, franco base <frenk.calza@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@lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users@lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
>

[Attachment #5 (text/html)]

<div dir="ltr">Hi,<div><br></div><div>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.</div><div>What is your use case ?</div><div class="gmail_extra">

<br></div><div class="gmail_extra">Nicolas<br><br><div class="gmail_quote">On 14 May \
2013 13:49, franco base <span dir="ltr">&lt;<a href="mailto:frenk.calza@gmail.com" \
target="_blank">frenk.calza@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi.<br></div>I know tgis \
function but doesn&#39;t work.<br></div>Myabe my question isn&#39;t correct.<br>

</div><div>I&#39;d have a binary value according to the arc direction.<br></div>For \
example, in qgis I can view this information:<br> </div><div>I can see an arrow on my \
arc according to direction.<br></div><div>I&#39;d have the same using \
postgis.<br><br></div><div>Thanks<br></div><br></div><div class="HOEnZb"><div \
class="h5"><div class="gmail_extra">

<br><br><div class="gmail_quote">2013/5/14 Paolo Corti <span dir="ltr">&lt;<a \
href="mailto:pcorti@gmail.com" target="_blank">pcorti@gmail.com</a>&gt;</span><br> \
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div>On Tue, May 14, 2013 at 6:03 PM, franco base &lt;<a \
href="mailto:frenk.calza@gmail.com" target="_blank">frenk.calza@gmail.com</a>&gt; \
wrote:<br>



&gt; Hi.<br>
&gt; I have a question for the list.<br>
&gt;<br>
&gt; Is there a postgis function to have line direction?<br>
&gt;<br>
<br>
</div><a href="http://postgis.refractions.net/docs/ST_Azimuth.html" \
target="_blank">http://postgis.refractions.net/docs/ST_Azimuth.html</a><br> <br>
regards<br>
<span><font color="#888888">p<br>
<br>
--<br>
Paolo Corti<br>
Geospatial software developer<br>
web: <a href="http://www.paolocorti.net" \
                target="_blank">http://www.paolocorti.net</a><br>
twitter: @capooti<br>
skype: capooti<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" \
target="_blank">postgis-users@lists.osgeo.org</a><br> <a \
href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" \
target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br> \
</font></span></blockquote></div><br></div> \
</div></div><br>_______________________________________________<br> postgis-users \
mailing list<br> <a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
 <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" \
target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br> \
<br></blockquote></div><br></div></div>



_______________________________________________
postgis-users mailing list
postgis-users@lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic