]> granicus.if.org Git - postgis/commitdiff
missed spot
authorRegina Obe <lr@pcorp.us>
Mon, 8 Jul 2013 06:57:13 +0000 (06:57 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 8 Jul 2013 06:57:13 +0000 (06:57 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11641 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_lrs.xml

index cac98ee8e92ca4ab4cd32444fe0bfdbef4048cb4..6eeaa78eb7021a936fa22f85edf38f95dc102896 100644 (file)
@@ -52,7 +52,7 @@
                          </mediaobject>
                        </informalfigure>
                        <programlisting>--Return point 20% along 2d line
-SELECT ST_AsEWKT(ST_Line_Interpolate_Point(the_line, 0.20))
+SELECT ST_AsEWKT(ST_LineInterpolatePoint(the_line, 0.20))
        FROM (SELECT ST_GeomFromEWKT('LINESTRING(25 50, 100 125, 150 190)') as the_line) As foo;
    st_asewkt
 ----------------
@@ -61,7 +61,7 @@ SELECT ST_AsEWKT(ST_Line_Interpolate_Point(the_line, 0.20))
 </programlisting>
 <programlisting>
 --Return point mid-way of 3d line
-SELECT ST_AsEWKT(ST_Line_Interpolate_Point(the_line, 0.5))
+SELECT ST_AsEWKT(ST_LineInterpolatePoint(the_line, 0.5))
        FROM (SELECT ST_GeomFromEWKT('LINESTRING(1 2 3, 4 5 6, 6 7 8)') as the_line) As foo;
 
        st_asewkt
@@ -70,7 +70,7 @@ SELECT ST_AsEWKT(ST_Line_Interpolate_Point(the_line, 0.5))
 
 
 --find closest point on a line to a point or other geometry
- SELECT ST_AsText(ST_Line_Interpolate_Point(foo.the_line, ST_Line_Locate_Point(foo.the_line, ST_GeomFromText('POINT(4 3)'))))
+ SELECT ST_AsText(ST_LineInterpolatePoint(foo.the_line, ST_LineLocatePoint(foo.the_line, ST_GeomFromText('POINT(4 3)'))))
 FROM (SELECT ST_GeomFromText('LINESTRING(1 2, 4 5, 6 7)') As the_line) As foo;
    st_astext
 ----------------
@@ -151,7 +151,7 @@ WHERE ST_DWithin(street_line, house_loc, 0.2);
  POINT(3.03 4.12)  |         20
 
  --find closest point on a line to a point or other geometry
- SELECT ST_AsText(ST_Line_Interpolate_Point(foo.the_line, ST_LineLocatePoint(foo.the_line, ST_GeomFromText('POINT(4 3)'))))
+ SELECT ST_AsText(ST_LineInterpolatePoint(foo.the_line, ST_LineLocatePoint(foo.the_line, ST_GeomFromText('POINT(4 3)'))))
 FROM (SELECT ST_GeomFromText('LINESTRING(1 2, 4 5, 6 7)') As the_line) As foo;
    st_astext
 ----------------