Opened 16 years ago
Last modified 15 years ago
#113 closed defect
ST_Locate_Along_Measure -- just returns null for unsupported instead of throwing an error — at Version 1
Reported by: | robe | Owned by: | pramsey |
---|---|---|---|
Priority: | low | Milestone: | PostGIS 1.5.0 |
Component: | postgis | Version: | |
Keywords: | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- -- ST_Locate_Along_Measure LineSet3D: Start Testing LINESTRING
SELECT ST_AsEWKT(foo1.the_geom),
ST_AsEWKT(ST_Locate_Along_Measure(foo1.the_geom, 0.5))
FROM ((SELECT ST_SetSRID(ST_MakeLine(ST_MakePoint(i,j,k),
ST_MakePoint(i+k,j+k,k)),4326) As the_geom
FROM generate_series(-10,50,20) As i
CROSS JOIN generate_series(40,70, 20) j CROSS JOIN generate_series(1,2) k )) As foo1;
What is the expected output? Only line with M supported.
What do you see instead? Everything returns null with no warning what so ever.
This is somewhat petty and I only consider this an error since the new ST_LocateBetweenMeasures returns an error for unsupported geometries.
Don't really care if we fix it. Just thought I would mention it to be a pain :)
Change History (1)
comment:1 by , 16 years ago
Description: | modified (diff) |
---|---|
Milestone: | → 2.0 |
Owner: | set to |