Changeset 4469


Ignore:
Timestamp:
Sep 9, 2009 9:21:43 PM (7 years ago)
Author:
robe
Message:

copy over line interpolate and line_substring figures from trunk

Location:
branches/1.4/doc
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4/doc/html/image_src/Makefile.in

    r4452 r4469  
    5353        ../images/st_isvalid07.png \
    5454        ../images/st_isvalid08.png \
     55        ../images/st_line_interpolate_point01.png \
     56        ../images/st_line_substring01.png \
    5557        ../images/st_minimumboundingcircle01.png \
    5658        ../images/st_symdifference01.png \
  • branches/1.4/doc/reference.xml

    r4452 r4469  
    1316513165  <sect1 id="Linear_Referencing">
    1316613166          <title>Linear Referencing</title>
    13167 <refentry id="ST_Line_Interpolate_Point">
     13167                <refentry id="ST_Line_Interpolate_Point">
    1316813168                  <refnamediv>
    1316913169                        <refname>ST_Line_Interpolate_Point</refname>
     
    1321113211                  <refsection>
    1321213212                        <title>Examples</title>
    13213 
    13214                         <programlisting>--Return point mid-way of 2d line
    13215 SELECT ST_AsEWKT(ST_Line_Interpolate_Point(the_line, 0.5))
    13216         FROM (SELECT ST_GeomFromEWKT('LINESTRING(1 2, 4 5, 6 7)') as the_line) As foo;
     13213                        <informalfigure>
     13214                          <mediaobject>
     13215                                <imageobject>
     13216                                  <imagedata fileref="images/st_line_interpolate_point01.png" />
     13217                                </imageobject>
     13218                                <caption><para>A linestring with the interpolated point at 20% position (0.20) </para></caption>
     13219                          </mediaobject>
     13220                        </informalfigure>
     13221                        <programlisting>--Return point 20% along 2d line
     13222SELECT ST_AsEWKT(ST_Line_Interpolate_Point(the_line, 0.20))
     13223        FROM (SELECT ST_GeomFromEWKT('LINESTRING(25 50, 100 125, 150 190)') as the_line) As foo;
    1321713224   st_asewkt
    1321813225----------------
    13219  POINT(3.5 4.5)
    13220 
    13221 
     13226 POINT(51.5974135047432 76.5974135047432)
     13227
     13228</programlisting>
     13229<programlisting>
    1322213230--Return point mid-way of 3d line
    1322313231SELECT ST_AsEWKT(ST_Line_Interpolate_Point(the_line, 0.5))
     
    1338213390                  <refsection>
    1338313391                        <title>Examples</title>
     13392                        <informalfigure>
     13393                          <mediaobject>
     13394                                <imageobject>
     13395                                  <imagedata fileref="images/st_line_substring01.png" />
     13396                                </imageobject>
     13397                                <caption><para>A linestring seen with 1/3 midrange overlaid (0.333, 0.666) </para></caption>
     13398                          </mediaobject>
     13399                        </informalfigure>
    1338413400        <programlisting>
    1338513401--Return the approximate 1/3 mid-range part of a linestring
    13386 SELECT ST_AsText(ST_Line_SubString(ST_GeomFromText('LINESTRING(748130 2919491,
    13387         747979 2919630,747895 2919705)'), 0.333, 0.666));
     13402SELECT ST_AsText(ST_Line_SubString(ST_GeomFromText('LINESTRING(25 50, 100 125, 150 190)'), 0.333, 0.666));
    1338813403
    1338913404                                                                                   st_astext
    1339013405------------------------------------------------------------------------------------------------
    13391  LINESTRING(748052.127524758 2919562.68393416,747979 2919630,747974.189261348 2919634.29530237)
     13406LINESTRING(69.2846934853974 94.2846934853974,100 125,111.700356260683 140.210463138888)
    1339213407
    1339313408--The below example simulates a while loop in
Note: See TracChangeset for help on using the changeset viewer.