[postgis-devel] Issue 113 in postgis: ST_Locate_Along_Measure -- just returns null for unsupported instead of throwing an error
codesite-noreply at google.com
codesite-noreply at google.com
Wed Feb 4 07:47:13 PST 2009
Status: New
Owner: ----
Labels: Type-Defect Priority-Low
New issue 113 by robe.... at cityofboston.gov: ST_Locate_Along_Measure -- just
returns null for unsupported instead of throwing an error
http://code.google.com/p/postgis/issues/detail?id=113
What steps will reproduce the problem?
1. -- 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 :)
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
More information about the postgis-devel
mailing list