I've submitted Ticket #1595 with SQL to show the problems with the geometry. I'll try to extract a simple Mapserver example to submit. Let me know if that should be submitted to Mapserver or here. Thanks, Worth