hello I want to calculate the distance between two end points of a linestring. LINESTRING( x1 y1,x2 y2,x3 y3, x4 y4) something like direct distance between (x1 y1) and (x4 y4) how can I end points of a line ? regards -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.