<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5726" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hi,<BR>I try to get the nearest 100 points from a postgis-point table 
<BR>(blom_north_p) to a point that comes in WKT:<BR><BR>select gid, location, 
<BR>ST_distance(blom_north_p.the_geom,GeomFromText('POINT(3455552.13983 
<BR>5481389.60828)',31467)) as mydist FROM blom_north_p order by mydist asc 
<BR>limit 100;<BR><BR>But the returend points are not correct.<BR>What is wrong 
with my syntax?<BR>Thanks<BR>Jo</DIV></BODY></HTML>