Opened 16 years ago

Last modified 15 years ago

#63 closed defect (fixed)

ST_Max_Distance is not yet implemented? — at Initial Version

Reported by: robe Owned by: robe
Priority: medium Milestone: PostGIS 1.5.0
Component: postgis Version: 1.4.X
Keywords: Cc: nicklas

Description

What steps will reproduce the problem? SELECT ST_Max_Distance(ST_GeomFromText('LINESTRING(1 0, 3 0)'), ST_GeomFromText('LINESTRING(3 0, 5 0)'))

What is the expected output? huh I think 4

What do you see instead?

ERROR: This function is unimplemented yet

Error

ERROR: This function is unimplemented yet SQL state: XX000

What version of the product are you using? On what operating system? Windows - 'POSTGIS='1.3.3' GEOS='3.0.0-CAPI-1.4.1' PROJ='Rel. 4.6.0, 21 Dec 2007' USE_STATS' I think I tried on OpenSUSE 11 1.3.4 SVN and got the same unsatisfying answer. I'll have to double-check that.

Please provide any additional information below. I think the trunk lwpostgis.sql.in.c has this comment

Maximum distance between linestrings. 2d only. Very bogus. — Availability: 1.2.2

And I thought it did something way back yander, but could have been my imagination or it was removed because as the comment says its bogus?

Change History (0)

Note: See TracTickets for help on using tickets.