The IsEmpty() function returns 0/1 for true/false values. This is legal according to the spec, but all the other functions in postgis return true/false. -- __ / | Paul Ramsey | Refractions Research | Email: pramsey at refractions.net | Phone: (250) 885-0632 \_