Content of convex-hull2.xq example
import module namespace geo = "http://expath.org/ns/geo";
declare namespace gml="http://www.opengis.net/gml";
geo:convex-hull(<gml:MultiPoint>
<gml:Point><gml:pos>1 1</gml:pos></gml:Point>
</gml:MultiPoint>
)