On Fri, Sep 9, 2011 at 2:01 AM, Matt Perry <perrygeo at gmail.com> wrote: > 406 Polygon* geos_poly = (Polygon*) poly->exportToGEOS(); Try dynamic_cast, and guard against 0. --strk; Free GIS & Flash consultant/developer http://strk.keybit.net/services.html