]> granicus.if.org Git - postgis/commitdiff
Remove ST_StartMeasure ST_EndMeasure
authorPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 26 Jan 2010 17:09:30 +0000 (17:09 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 26 Jan 2010 17:09:30 +0000 (17:09 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5166 b70326c6-7e19-0410-871a-916f4a2858ee

NEWS
doc/reference_lrs.xml
doc/release_notes.xml
postgis/postgis.sql.in.c
postgis/uninstall_postgis.sql.in.c

diff --git a/NEWS b/NEWS
index 5983d81b0caf49826a941f83ea9653d0f91df153..2eec7820608e2d7c955d3c8943b8f17288912861 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,7 @@ PostGIS 1.5.0
     - ST_ShortestLine
   - KML, GML input via ST_GeomFromGML and ST_GeomFromKML (Olivier Courtin)
   - Extract homogeneous collection with ST_CollectionExtract (Paul Ramsey)
+  - Add measure values to existing linestring with ST_AddMeasure (Paul Ramsey)
   - History table implementation in utils (George Silva)
   - Win32 support and improvement of core shp2pgsql-gui (Mark Cave-Ayland)
   - In place 'make check' support (Paul Ramsey)
index e30902ea570c26823cbda238558d7ef1a3788938..3a185854b01737968782abb5382dd78a3a613d51 100644 (file)
@@ -539,74 +539,5 @@ ST_GeomFromEWKT('LINESTRINGM(1 0 4, 2 0 4, 4 0 4)'),10,40)) As ewelev;
          </refsection>
        </refentry>
 
-       <refentry id="ST_StartMeasure">
-         <refnamediv>
-               <refname>ST_StartMeasure</refname>
-
-               <refpurpose>Return the measure value at the first vertex of a geometry.</refpurpose>
-         </refnamediv>
-
-         <refsynopsisdiv>
-               <funcsynopsis>
-                 <funcprototype>
-                       <funcdef>float <function>ST_StartMeasure</function></funcdef>
-                       <paramdef><type>geometry </type> <parameter>geom</parameter></paramdef>
-                 </funcprototype>
-
-               </funcsynopsis>
-         </refsynopsisdiv>
-
-         <refsection>
-               <title>Description</title>
-
-                  <para>Return the measure value at the first vertex of a geometry.</para>
-
-                       <para>Availability: 1.5.0</para>
-
-               <para>&Z_support;</para>
-         </refsection>
-
-         <!-- Optionally add a "See Also" section -->
-         <refsection>
-               <title>See Also</title>
-
-               <para><xref linkend="ST_EndMeasure" /></para>
-         </refsection>
-       </refentry>
-
-       <refentry id="ST_EndMeasure">
-         <refnamediv>
-               <refname>ST_EndMeasure</refname>
-
-               <refpurpose>Return the measure value at the last vertex of a geometry.</refpurpose>
-         </refnamediv>
-
-         <refsynopsisdiv>
-               <funcsynopsis>
-                 <funcprototype>
-                       <funcdef>float <function>ST_EndMeasure</function></funcdef>
-                       <paramdef><type>geometry </type> <parameter>geom</parameter></paramdef>
-                 </funcprototype>
-
-               </funcsynopsis>
-         </refsynopsisdiv>
-
-         <refsection>
-               <title>Description</title>
-
-                  <para>Return the measure value at the last vertex of a geometry.</para>
-
-                       <para>Availability: 1.5.0</para>
-
-               <para>&Z_support;</para>
-         </refsection>
-
-         <!-- Optionally add a "See Also" section -->
-         <refsection>
-               <title>See Also</title>
-
-               <para><xref linkend="ST_StartMeasure" /></para>
-         </refsection>
-       </refentry>
        
   </sect1>
index 4cd64cbb6de49a67128d9603e3d4a202a0c45d78..26f04fb91ed64a0fba55840714de09dbf61468a7 100644 (file)
@@ -39,6 +39,7 @@
          </itemizedlist>         
           <para>KML, GML input via ST_GeomFromGML and ST_GeomFromKML (Olivier Courtin)</para>
           <para>Extract homogeneous collection with ST_CollectionExtract (Paul Ramsey)</para>
+          <para>Add measure values to an existing linestring with ST_AddMeasure (Paul Ramsey)</para>
           <para>History table implementation in utils (George Silva)</para>
           <para>Geography type and supporting functions</para>
           <itemizedlist>
index a9533b0fc49536ed06c03774e2e1ed3106f8f4d0..9bcfcbdcee3cddddf01123d836a35efec91004b8 100644 (file)
@@ -3809,18 +3809,6 @@ CREATE OR REPLACE FUNCTION ST_AddMeasure(geometry, float8, float8)
        AS 'MODULE_PATHNAME', 'ST_AddMeasure' 
        LANGUAGE 'C' IMMUTABLE STRICT;
     
--- Availability: 1.5.0
-CREATE OR REPLACE FUNCTION ST_StartMeasure(geometry)
-       RETURNS float8 
-       AS $$ SELECT ST_M(ST_StartPoint($1)) $$
-       LANGUAGE 'SQL' IMMUTABLE STRICT;
-
--- Availability: 1.5.0
-CREATE OR REPLACE FUNCTION ST_EndMeasure(geometry)
-       RETURNS float8 
-       AS $$ SELECT ST_M(ST_EndPoint($1)) $$
-       LANGUAGE 'SQL' IMMUTABLE STRICT;
-
 ---------------------------------------------------------------
 -- GEOS
 ---------------------------------------------------------------
index 171d9aa0ddb12134e4dad3738444684c4ac2302c..285be1acedd3f64b699bae16f2695a5fa6e64801 100644 (file)
@@ -399,8 +399,6 @@ DROP FUNCTION line_substring(geometry, float8, float8);
 DROP FUNCTION ST_line_interpolate_point(geometry, float8);
 DROP FUNCTION line_interpolate_point(geometry, float8);
 DROP FUNCTION ST_AddMeasure(geometry, float8, float8);
-DROP FUNCTION ST_StartMeasure(geometry);
-DROP FUNCTION ST_EndMeasure(geometry);
 
 ---------------------------------------------------------------
 -- Algorithms