From: Paul Ramsey Date: Tue, 26 Jan 2010 17:09:30 +0000 (+0000) Subject: Remove ST_StartMeasure ST_EndMeasure X-Git-Tag: 1.5.0rc2~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62187d899506e6b82b07c5c16e54b745bded8288;p=postgis Remove ST_StartMeasure ST_EndMeasure git-svn-id: http://svn.osgeo.org/postgis/trunk@5166 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/NEWS b/NEWS index 5983d81b0..2eec78206 100644 --- 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) diff --git a/doc/reference_lrs.xml b/doc/reference_lrs.xml index e30902ea5..3a185854b 100644 --- a/doc/reference_lrs.xml +++ b/doc/reference_lrs.xml @@ -539,74 +539,5 @@ ST_GeomFromEWKT('LINESTRINGM(1 0 4, 2 0 4, 4 0 4)'),10,40)) As ewelev; - - - ST_StartMeasure - - Return the measure value at the first vertex of a geometry. - - - - - - float ST_StartMeasure - geometry geom - - - - - - - Description - - Return the measure value at the first vertex of a geometry. - - Availability: 1.5.0 - - &Z_support; - - - - - See Also - - - - - - - - ST_EndMeasure - - Return the measure value at the last vertex of a geometry. - - - - - - float ST_EndMeasure - geometry geom - - - - - - - Description - - Return the measure value at the last vertex of a geometry. - - Availability: 1.5.0 - - &Z_support; - - - - - See Also - - - - diff --git a/doc/release_notes.xml b/doc/release_notes.xml index 4cd64cbb6..26f04fb91 100644 --- a/doc/release_notes.xml +++ b/doc/release_notes.xml @@ -39,6 +39,7 @@ KML, GML input via ST_GeomFromGML and ST_GeomFromKML (Olivier Courtin) Extract homogeneous collection with ST_CollectionExtract (Paul Ramsey) + Add measure values to an existing linestring with ST_AddMeasure (Paul Ramsey) History table implementation in utils (George Silva) Geography type and supporting functions diff --git a/postgis/postgis.sql.in.c b/postgis/postgis.sql.in.c index a9533b0fc..9bcfcbdce 100644 --- a/postgis/postgis.sql.in.c +++ b/postgis/postgis.sql.in.c @@ -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 --------------------------------------------------------------- diff --git a/postgis/uninstall_postgis.sql.in.c b/postgis/uninstall_postgis.sql.in.c index 171d9aa0d..285be1ace 100644 --- a/postgis/uninstall_postgis.sql.in.c +++ b/postgis/uninstall_postgis.sql.in.c @@ -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