Hi, The outcome of the function is "geometry" (a multilinestring). Regards.. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Postgis-Function-in-a-Wfs-Map-File-Problem-tp5186640p5194922.html Sent from the Mapserver - User mailing list archive at Nabble.com.