Ticket #63: maxdist_doc.patch

File maxdist_doc.patch, 0.9 KB (added by nicklas, 3 years ago)

Document-patch for max_distance function

  • reference.xml

     
    1051910519                <title>Description</title> 
    1052010520 
    1052110521                <para>Returns the 2-dimensional maximum cartesian distance between two linestrings in 
    10522                 projected units.</para> 
     10522                projected units. If g1 and g2 is the same geometry the function will return the distance between 
     10523                the two vertices most far from eachother in that geometry.</para> 
    1052310524 
    1052410525          </refsection> 
    1052510526 
    1052610527          <refsection> 
    1052710528                <title>Examples</title> 
    1052810529 
    10529                 <programlisting>--ALL EXAMPLES current throw NOT YET IMPLEMENTED</programlisting> 
     10530                <programlisting>postgis=# SELECT ST_Max_Distance('POINT(0 0)'::geometry, 'LINESTRING ( 2 0, 0 2 )'::geometry); 
     10531   st_max_distance 
     10532----------------- 
     10533 2 
     10534(1 row)</programlisting> 
    1053010535          </refsection> 
    1053110536 
    1053210537          <refsection>