Ticket #21 (closed defect: fixed)
locate_along_measure: wrong values, invalid data ?
| Reported by: | l...@… | Owned by: | pramsey |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | postgis | Version: | |
| Keywords: | Cc: |
Description
I get absurd wrong results with locate_along_measure. Following up, force_2d crashes the server process.
Version Information: PostgresSQL 8.3.1 (binaries downloaded) on Windows XP Pro PostGIS 1.3.2, with Stack Builder
(I got the same behaviour with a older PostgresSQL 8.1)
create table t2 (id serial not null primary key); select AddGeometryColumn?('public', 't2', 'geom', 31293, 'LINESTRINGM', 3);
insert into t2(geom) values (ST_GeomFromEWKT(' SRID=31293;LINESTRINGM( 6193.76 5337404.95 4519, 6220.13 5337367.145 4566, 6240.889 5337337.383 4603 )'));
select asewkt(st_locate_along_measure(geom, 4566)), * from t2;
select asewkt(force_2d(st_locate_along_measure(geom, 4566))), * from t2;

