Does anyone have a definition of cleanGeometry that they could post? The wiki page at http://postgis.refractions.net/support/wiki/index.php?full=geometry references the following unresponsive link: http://www.sogis1.so.ch/sogis/dl/postgis/cleanGeometry.sql Thanks, David