<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<STYLE>.hmmessage P {
        PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-FAMILY: Calibri; FONT-SIZE: 12pt
}
</STYLE>

<META name=GENERATOR content="MSHTML 9.00.8112.16457"></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><SPAN class=560561009-11022013><FONT color=#0000ff 
size=2 face=Arial>If you are using PostGIS 1.5, 2.0 ST_MaxDistance is probably 
what you are looking for:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=560561009-11022013><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=560561009-11022013><FONT color=#0000ff 
size=2 face=Arial><A 
href="http://postgis.net/docs/manual-2.0/ST_MaxDistance.html">http://postgis.net/docs/manual-2.0/ST_MaxDistance.html</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=560561009-11022013><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=560561009-11022013><FONT color=#0000ff 
size=2 face=Arial>In conjunction with:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=560561009-11022013><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=560561009-11022013><FONT color=#0000ff 
size=2 face=Arial><A 
href="http://postgis.net/docs/manual-2.0/ST_DWithin.html">http://postgis.net/docs/manual-2.0/ST_DWithin.html</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=560561009-11022013><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=560561009-11022013><FONT color=#0000ff 
size=2 face=Arial>Hope that helps,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=560561009-11022013><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=560561009-11022013><FONT color=#0000ff 
size=2 face=Arial>Regina</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=560561009-11022013><FONT color=#0000ff 
size=2 face=Arial><A 
href="http://www.postgis.us">http://www.postgis.us</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=560561009-11022013><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=560561009-11022013><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=560561009-11022013><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> postgis-users-bounces@lists.osgeo.org 
[mailto:postgis-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>José Pedro 
Santos<BR><B>Sent:</B> Monday, February 11, 2013 3:54 AM<BR><B>To:</B> PostGIS 
Users Discussion<BR><B>Subject:</B> Re: [postgis-users] Calculating the maximum 
minimal distance between two points<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr>Hi Carsten, <BR><BR>You can check that in this link <A 
href="http://postgis.refractions.net/documentation/manual-1.3/ch06.html">http://postgis.refractions.net/documentation/manual-1.3/ch06.html</A> 
see the chapter 6.1.2. Geometry Relationship Functions. <BR><BR>Best 
Regards,<BR>José Santos<BR>
<H3 class=title><BR></H3>
<DIV>
<DIV id=SkyDrivePlaceholder></DIV>
<HR id=stopSpelling>
Date: Fri, 8 Feb 2013 17:00:31 +0100<BR>From: carsten.hogertz@gmail.com<BR>To: 
postgis-users@lists.osgeo.org<BR>Subject: [postgis-users] Calculating the 
maximum minimal distance between two points<BR><BR>
<DIV dir=ltr>Hi,
<DIV><BR></DIV>
<DIV>I've got two point layer.</DIV>
<DIV>I want to identify the maximum distance of the nearest neighbour 
point.</DIV>
<DIV><BR></DIV>
<DIV>How could it be possible?</DIV>
<DIV><BR></DIV>
<DIV>Thank for every help.</DIV>
<DIV>Carsten</DIV></DIV><BR>_______________________________________________ 
postgis-users mailing list postgis-users@lists.osgeo.org 
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</DIV></DIV></BODY></HTML>