as of r6221: lwgeom_ogc.c: int closed = lwgeom_is_closed(lwgeom); But lwgeom_is_closed isn't found anywhere, where is it ? --strk; () Free GIS & Flash consultant/developer /\ http://strk.keybit.net/services.html