[postgis] new function max_distance(line,line)

Dave Blasby dblasby at refractions.net
Thu Jan 3 15:31:56 PST 2002


I've added a simple function to the CVS version.

max_distance(geometry, geometry)	
		returns NULL if both geometries are not linestrings
		Otherwise,
			For each point in line 1
				Find the line-to-point distance to line 2
			Return max distance

Note: max_distance(line1, line2) is different than
max_distance(line2,line1);

The result is a bit difficult to interpret, but it does contain a lot of
information.

dave

To unsubscribe from this group, send an email to:
postgis-unsubscribe at yahoogroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 





More information about the postgis-users mailing list