class GeometryExporter {

    public mil.nga.sf.Geometry convertGeometry(MapDataElement element)
    {
        MapGeometrySupport support = element.getMapGeometrySupport();

        mil.nga.sf.Geometry wkbGeometry = null;

        if (support != null)
        {
            Geometry jtsGeometry = GeometrySupportToJTSGeometryFactory.convertToJTSGeometry(support);

            wkbGeometry = convertGeometry(jtsGeometry, support.getClass().toString());
        }

        return wkbGeometry;
    }

}