#4702 closed defect (fixed)
Legacy ST_Locate_Between_Measures is wrong
Reported by: | pramsey | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.0.2 |
Component: | postgis | Version: | 3.0.x |
Keywords: | Cc: |
Description
diff --git a/postgis/legacy.sql.in b/postgis/legacy.sql.in index 6a720dda0..d750541e8 100644 --- a/postgis/legacy.sql.in +++ b/postgis/legacy.sql.in @@ -2056,7 +2056,7 @@ CREATE OR REPLACE FUNCTION ST_line_locate_point(geom1 geometry, geom2 geometry) -- Deprecation in 2.0.0 replaced by ST_LocateBetween CREATE OR REPLACE FUNCTION ST_locate_between_measures(geometry, float8, float8) RETURNS geometry AS - 'SELECT ST_LocateBetween($1, $2, $2);' + 'SELECT ST_LocateBetween($1, $2, $3);' LANGUAGE 'sql' IMMUTABLE STRICT; -- Availability: 1.2.2
Note:
See TracTickets
for help on using tickets.
In 10c94128/git: